3 ms·
Hmm, it seems to be written in TypeScript, but the source is only provided in JavaScript.
by nawitus 12y ago
Hmm, it seems to be written in TypeScript, but the source is only provided in JavaScript.
- deleted 12y ago[deleted]
- leebyron 12y agoI actually started by writing it in TS and later moved to just a TS declaration file and a raw JS source. This means it can be used smoothly in both environments (similar to using a definitelytyped resource).
- epignosisx 12y agoWhat made you go back to plain javascript?
- gregwebs 12y agoFor an ambitious project this is probably still a better approach. But did you try using the --declaration switch?