Closed daxadal closed 1 year ago
Types on the index.d.ts could be more precise in order to improve TypeScript type inference.
index.d.ts
number
// Instead of... readonly CONTINUE: number; // ... now it is: readonly CONTINUE: 100;
readonly [key: number]: string
// Instead of... readonly '527': string; // ... now it is: readonly 527: string;
A new version is now available, thank you!
Types on the
index.d.ts
could be more precise in order to improve TypeScript type inference.number
now resolve to the actual constant number