Browse Source

Merge pull request #215684 in DEC/fineui from master to feature/x

* commit '51c1b860d6d907aad4dbb4d6f0555d662db84b64':
  无JIRA fix: extend 类型修复
research/test
superman 2 years ago
parent
commit
53396f6e1f
  1. 2
      typescript/core/base.ts

2
typescript/core/base.ts

@ -178,7 +178,7 @@ export interface _base {
functions: (object: object) => string[];
extend<T extends object>(object: T): T;
extend<T extends object, U>(object: T, ...sources: U[]): T & UnionToIntersection<NonNullable<U>>;
extend<T extends object, U extends unknown[]>(object: T, ...sources: U): T & UnionToIntersection<NonNullable<U[number]>>;
defaults: (object: object, ...sources: any[]) => object;

Loading…
Cancel
Save