diff --git a/typescript/core/base.ts b/typescript/core/base.ts index 4a6597e4f4..dc87b71da4 100644 --- a/typescript/core/base.ts +++ b/typescript/core/base.ts @@ -305,7 +305,7 @@ export interface _base { random: (min?: number, max?: number, floating?: boolean) => number; - parseInt: (s: string) => number; + parseInt: (s: string | number) => number; parseSafeInt: (s: string) => number;