Browse Source

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

* commit '63ad720ce6ac3239a315b2b5be7efc648e6d16aa':
  auto upgrade version to 2.0.20230103144542
  无jira fix(base/extend): 修改泛型
master
superman 2 years ago
parent
commit
fe83191286
  1. 2
      package.json
  2. 2
      typescript/core/base.ts

2
package.json

@ -1,6 +1,6 @@
{
"name": "fineui",
"version": "2.0.20230103111549",
"version": "2.0.20230103144542",
"description": "fineui",
"main": "dist/fineui_without_conflict.min.js",
"types": "dist/lib/index.d.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 extends object>(object: T, ...sources: U[]): T & UnionToIntersection<U>;
extend<T extends object, U>(object: T, ...sources: U[]): T & UnionToIntersection<NonNullable<U>>;
defaults: (object: object, ...sources: any[]) => object;

Loading…
Cancel
Save