Browse Source

Merge pull request #1057 in VISUAL/fineui from ~ALAN/fineui:master to master

* commit '1bf7db11656f5a98c9de888009391dc985a1dc45':
  fix: KERNEL-800 调整参数类型
es6
alan 5 years ago
parent
commit
0d94db5940
  1. 4
      typescript/core/base.ts
  2. 2
      typescript/core/i18n.ts

4
typescript/core/base.ts

@ -235,7 +235,7 @@ export interface _base {
init: () => void;
has: (obj: object, keys: string[]) => boolean;
has: (obj: object, keys: string|string[]) => boolean;
freeze: <T>(value: T) => T;
@ -261,7 +261,7 @@ export interface _base {
isDeepMatch: (object: any, attrs: any) => boolean;
contains: (obj: any[], target: any, fromIndex: number) => number;
contains: (obj: any[], target: any, fromIndex?: number) => number;
deepContains: (obj: any[], copy: any) => number;

2
typescript/core/i18n.ts

@ -1,4 +1,4 @@
export declare type _addI18n = (v: string) => string;
export declare type _addI18n = (v: string | object) => string;
export declare type _i18nText = (key: string, ..._args: any[]) => string;

Loading…
Cancel
Save