Typescript definitions when Cesium is included via script tag
- Dominant language
- JavaScript
- Stars
- 15.8k
- Forks
- 3.9k
- Avg merge
- 4d 6h
- Merged PRs (30d)
- 34
Description
Currently, CesiumJS's typescript definitions aren't easily usable when CesiumJS is included via a script tag. It's probably pretty rare to use Typescript in an app that also uses CesiumJS via script tag. But typescript definitions are also useful for intellisense from regular javascript code, so it'd be nice if this worked better. We can make it work quite easily by adding an additional .d.ts file to our releases. See https://github.com/CesiumGS/cesium/pull/8925#issuecomment-733683166.
Contributor guide
Research direction
Start by reviewing the linked pull request 8925 and its referenced comment, then inspect how the release currently packages TypeScript definitions for script-tag use. Done means an additional .d.ts file is included in releases and makes CesiumJS usable for TypeScript and JavaScript IntelliSense when loaded through a script tag.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, typescript
- Domain
- developer-experience, release
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100