From c6696501e288dd995e4b1a59506ca81273b74084 Mon Sep 17 00:00:00 2001 From: iapyang Date: Thu, 29 Aug 2019 15:08:04 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=8E=A5=E5=8F=A3=E5=8F=82=E6=95=B0?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- typescript/core/base.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/typescript/core/base.ts b/typescript/core/base.ts index 4a6597e4f..dc87b71da 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;