diff --git a/typescript/core/base.ts b/typescript/core/base.ts index 81ed09060d..05cc91239c 100644 --- a/typescript/core/base.ts +++ b/typescript/core/base.ts @@ -367,7 +367,7 @@ export interface _base { parseDateTime: (str: string, fmt: string) => Date; - getDate: (...args: number[]) => Date; + getDate: (...args: (number | string)[]) => Date; getTime: (...args: any[]) => number; } \ No newline at end of file