Enum
- Dominant language
- Kotlin
- Stars
- 591
- Forks
- 40
- PR merge metrics
- No merged PRs in 30d
Description
```typescript
declare enum SomeEnum {
"string1", "string2", "string3"
}
```
produce:
```kotlin
external enum class RequestContext {
"string1", "string2", "string3"
}
```
_Notice_: May be in future Kotlin will support `inline enum class` [KT-23823](https://youtrack.jetbrains.com/issue/KT-23823). It will be like `const enum` in TS
Contributor guide
No contributing guide indexed for this repository
Research direction
No source files or tests are named in this issue. Start by tracing how TypeScript declarations are converted to Kotlin external declarations, then compare the shown enum input and output. Done means the example TypeScript enum produces the requested Kotlin enum declaration and the behavior is covered by an appropriate test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- kotlin, typescript
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100