Kotlin / Kotlin/dukat

Missing JsModule qualifier on a global level

Open
#263 0 comments 3 reactions 0 assignees View on GitHub
critical import-qualifiers unusable-code
Dominant language
Kotlin
Stars
591
Forks
40
PR merge metrics
No merged PRs in 30d

Description

This strikingly simple minimal example:
```typescript
export declare function ping();
```

is converted to:
```kotlin
external fun ping()
```

This is unusable since JsModule annotation is missing.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the minimal TypeScript declaration `export declare function ping();` and tracing the conversion to the generated Kotlin `external fun ping()`. The change is complete when the generated top-level declaration includes the required JsModule annotation and the original example is covered by a regression test.

Written by the indexing model from the issue text.

Assessment

Tech stack
kotlin, typescript
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.