Browse Source

Pull request #1675: KERNEL-6533 refactor: 类型补充

Merge in VISUAL/fineui from ~KIRA/fineui:master to master

* commit 'a8682eb4c74e4991582d72aa4151f2119cb18dab':
  KERNEL-6533 refactor: 类型补充
es6
Kira 4 years ago
parent
commit
91c1d25b34
  1. 12
      typescript/core/base.ts
  2. 2
      typescript/widget/multiselect/multiselect.insert.combo.ts

12
typescript/core/base.ts

@ -46,17 +46,17 @@ export interface _base {
reduceRight: <T, U>(collection: T[]|object|string, callback?: ((total: U extends T ? U : T, currentValue: T, currentIndex: number) => U extends T ? U : T)|object|string, initialValue?: U|T) => U extends T ? U : T;
find: <T>(collection: T[]|object|string, callback?: ((index: number, value: T) => boolean)|object|string, thisArg?: any) => any;
find: <T>(collection: T[]|object|string, callback?: ((index: number, value: T) => boolean)|object|string, thisArg?: any) => T | undefined;
filter: <T>(collection: T[]|object|string, callback?: ((index: number, value: T) => boolean)|object|string, thisArg?: any) => any[];
filter: <T>(collection: T[]|object|string, callback?: ((index: number, value: T) => boolean)|object|string, thisArg?: any) => T[];
reject: <T>(collection: any[]|object|string, callback?: ((index: number, value: T) => boolean)|object|string, thisArg?: any) => any[];
reject: <T>(collection: T[]|object|string, callback?: ((index: number, value: T) => boolean)|object|string, thisArg?: any) => T[];
every: <T>(collection: any[]|object|string, callback?: ((index: number, value: T) => boolean)|object|string, thisArg?: any) => boolean;
every: <T>(collection: T[]|object|string, callback?: ((index: number, value: T) => boolean)|object|string, thisArg?: any) => boolean;
all: <T>(collection: any[]|object|string, callback?: ((index: number, value: T) => boolean)|object|string, thisArg?: any) => boolean;
all: <T>(collection: T[]|object|string, callback?: ((index: number, value: T) => boolean)|object|string, thisArg?: any) => boolean;
some: <T>(collection: any[]|object|string, callback?: ((index: number, value: T) => boolean)|object|string, thisArg?: any) => boolean;
some: <T>(collection: T[]|object|string, callback?: ((index: number, value: T) => boolean)|object|string, thisArg?: any) => boolean;
any: <T>(collection: T[]|object|string, callback?: ((index: number, value: T) => boolean)|object|string, thisArg?: any) => boolean;

2
typescript/widget/multiselect/multiselect.insert.combo.ts

@ -44,7 +44,7 @@ export declare class MultiSelectInsertCombo extends Single {
hideView(): void;
setValue(value: {
setValue(value?: {
type: string;
value: string[];
assist: string[];

Loading…
Cancel
Save