core.ts does not test whether BigInt exists
Open
- Dominant language
- TypeScript
- Stars
- 1.2k
- Forks
- 194
- Avg merge
- 22h 43m
- Merged PRs (30d)
- 10
Description
https://github.com/benjamn/ast-types/blob/master/def/core.ts#L338 assumes BigInt to exist, but it doesn't in the environment where my code runs (Zotero, which is technically built on firefox ESR), so my code errors out.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with def/core.ts at line 338 and inspect how BigInt is referenced during core definitions. Reproduce the failure in an environment where BigInt is unavailable, such as the reported Firefox ESR-based Zotero environment, then verify that the core definitions load without that error when BigInt is absent.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- compilers
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100