Steps to reproduce
main.ts:
export const a = -1e500 as const;
export const b = -123456789012345678901234567890 as const;
tsgo --declaration main.ts
Behavior with typescript@6.0
export declare const a: -1e500;
export declare const b: -123456789012345678901234567890;
Behavior with tsgo
export declare const a: -Infinity;
export declare const b: -1.2345678901234568e+29;
Steps to reproduce
main.ts:Behavior with
typescript@6.0Behavior with
tsgo