clockworklabs / clockworklabs/SpacetimeDB
Generates TypeScript "bigint" instead of "BigInt"
Open
Nobody has claimed this yet.
possibly-stale
- Dominant language
- Rust
- Stars
- 25.2k
- Forks
- 1.1k
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 46
Description
TypeScript code generation (spacetime generate --lang typescript) currently generates the BigInt type for i128, u128, i64, and u64. It should probably generate bigint (note the casing) instead.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by running spacetime generate --lang typescript on schema fields using i128, u128, i64, and u64, then trace the TypeScript generator entry point that produces those declarations. Done means each of these types is emitted as lowercase bigint rather than BigInt.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 58/100