diff --git a/typescript/base/single/button/buttons/button.text.ts b/typescript/base/single/button/buttons/button.text.ts index 7dd7f5ad0a..ffc25fd2fe 100644 --- a/typescript/base/single/button/buttons/button.text.ts +++ b/typescript/base/single/button/buttons/button.text.ts @@ -3,13 +3,13 @@ import { _BasicButton } from "../button.basic"; export interface _TextButton extends _BasicButton { setStyle(style: any): void; - doRedMark(...args: any): void; + doRedMark(...args: any[]): void; - unRedMark(...args: any): void; + unRedMark(...args: any[]): void; - doHighLight(...args: any): void; + doHighLight(...args: any[]): void; - unHighLight(...args: any): void; + unHighLight(...args: any[]): void; } export interface _TextButtonStatic { diff --git a/typescript/base/single/button/buttons/button.ts b/typescript/base/single/button/buttons/button.ts index 00dab6e51e..2d4e171f0b 100644 --- a/typescript/base/single/button/buttons/button.ts +++ b/typescript/base/single/button/buttons/button.ts @@ -1,13 +1,13 @@ import { _BasicButton } from "../button.basic"; export interface _Button extends _BasicButton { - doRedMark(...args: any): void; + doRedMark(...args: any[]): void; - unRedMark(...args: any): void; + unRedMark(...args: any[]): void; - doHighLight(...args: any): void; + doHighLight(...args: any[]): void; - unHighLight(...args: any): void; + unHighLight(...args: any[]): void; } export interface _ButtonStatic { diff --git a/typescript/base/single/button/listitem/icontextitem.ts b/typescript/base/single/button/listitem/icontextitem.ts index 6c1cd97d38..80d7d40bd0 100644 --- a/typescript/base/single/button/listitem/icontextitem.ts +++ b/typescript/base/single/button/listitem/icontextitem.ts @@ -1,13 +1,13 @@ import { _BasicButton } from "../button.basic"; export interface _IconTextItem extends _BasicButton { - doRedMark(...args: any): void; + doRedMark(...args: any[]): void; - unRedMark(...args: any): void; + unRedMark(...args: any[]): void; - doHighLight(...args: any): void; + doHighLight(...args: any[]): void; - unHighLight(...args: any): void; + unHighLight(...args: any[]): void; } export interface _IconTextItemStatic { diff --git a/typescript/base/single/label/abstract.label.ts b/typescript/base/single/label/abstract.label.ts index 30a2394084..d0a39476c9 100644 --- a/typescript/base/single/label/abstract.label.ts +++ b/typescript/base/single/label/abstract.label.ts @@ -1,13 +1,13 @@ import { _Single } from "../single"; export interface _AbstractLabel extends _Single { - doRedMark(...args: any): void; + doRedMark(...args: any[]): void; - unRedMark(...args: any): void; + unRedMark(...args: any[]): void; - doHighLight(...args: any): void; + doHighLight(...args: any[]): void; - unHighLight(...args: any): void; + unHighLight(...args: any[]): void; setText(v: string): void; diff --git a/typescript/base/single/label/label.ts b/typescript/base/single/label/label.ts index b1971d5e2d..03f5f2e38d 100644 --- a/typescript/base/single/label/label.ts +++ b/typescript/base/single/label/label.ts @@ -1,7 +1,7 @@ import { _AbstractLabel } from "./abstract.label"; export interface _Label extends _AbstractLabel { - doRedMark(...args: any): void; + doRedMark(...args: any[]): void; - unRedMark(...args: any): void + unRedMark(...args: any[]): void } diff --git a/typescript/case/button/item.multiselect.ts b/typescript/case/button/item.multiselect.ts index a28ce8f690..8f342dd2e3 100644 --- a/typescript/case/button/item.multiselect.ts +++ b/typescript/case/button/item.multiselect.ts @@ -1,11 +1,11 @@ import { _BasicButton } from "../../base/single/button/button.basic"; export interface _MultiSelectItem extends _BasicButton { - doClick(...args: any): void; + doClick(...args: any[]): void; - doRedMark(...args: any): void; + doRedMark(...args: any[]): void; - unRedMark(...args: any): void; + unRedMark(...args: any[]): void; setSelected(v: boolean): void; } diff --git a/typescript/case/editor/editor.sign.ts b/typescript/case/editor/editor.sign.ts index 60afcbb837..906941933e 100644 --- a/typescript/case/editor/editor.sign.ts +++ b/typescript/case/editor/editor.sign.ts @@ -11,13 +11,13 @@ export interface _SignEditor extends _Widget { blur(): void; - doRedMark(...args: any): void; + doRedMark(...args: any[]): void; - unRedMark(...args: any): void; + unRedMark(...args: any[]): void; - doHighLight(...args: any): void; + doHighLight(...args: any[]): void; - unHighLight(...args: any): void; + unHighLight(...args: any[]): void; isValid(): boolean; diff --git a/typescript/core/base.ts b/typescript/core/base.ts index f252af4f3c..b7c3ed83e4 100644 --- a/typescript/core/base.ts +++ b/typescript/core/base.ts @@ -297,9 +297,9 @@ export interface _base { throttle: (func: Function, wait?: number, options?: any) => Function; - delay: (func: Function, wait: number, ...args: any) => number; + delay: (func: Function, wait: number, ...args: any[]) => number; - defer: (func: Function, ...args: any) => number; + defer: (func: Function, ...args: any[]) => number; wrap: (value: any, wrapper: Function) => Function;