functionload(param: any): void { // do something } load([1,2]) // 报错 /** No overload matches this call. Overload 1 of 2, '(param: string): void', gave the following error. Argument of type 'number[]' is not assignable to parameter of type 'string'. Overload 2 of 2, '(param: number): void', gave the following error. Argument of type 'number[]' is not assignable to parameter of type 'number'. **/