Kotlin / Kotlin/dukat

Unable to convert three.js

Open
#166 7 comments 5 reactions 0 assignees View on GitHub
ts2kt
Dominant language
Kotlin
Stars
591
Forks
40
PR merge metrics
No merged PRs in 30d

Description

```
Converting node_modules/@types/three/index.d.ts
ts2kt: "ExportDeclaration" kind unsupported yet here! (node_modules/@types/three/index.d.ts:1:1 to 6:30)
ts2kt: "ExportDeclaration" kind unsupported yet here! (node_modules/@types/three/index.d.ts:6:30 to 8:40)
ts2kt: "ExportDeclaration" kind unsupported yet here! (node_modules/@types/three/index.d.ts:8:40 to 9:39)
...
```

Specific code it's complaining about is code like this: `export * from "./three-core";`

And likely also: `export as namespace THREE;`

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the conversion of node_modules/@types/three/index.d.ts and inspect how the converter handles the reported ExportDeclaration nodes. Start with the export * from "./three-core" and export as namespace THREE cases, then verify that converting this declaration file no longer reports them as unsupported.

Written by the indexing model from the issue text.

Assessment

Tech stack
kotlin, three.js, typescript
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 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.