Browse Source

refactor: 修改args参数写法

master
Kira 5 years ago
parent
commit
9066545303
  1. 8
      typescript/base/single/button/buttons/button.text.ts
  2. 8
      typescript/base/single/button/buttons/button.ts
  3. 8
      typescript/base/single/button/listitem/icontextitem.ts
  4. 8
      typescript/base/single/label/abstract.label.ts
  5. 4
      typescript/base/single/label/label.ts
  6. 6
      typescript/case/button/item.multiselect.ts
  7. 8
      typescript/case/editor/editor.sign.ts
  8. 4
      typescript/core/base.ts

8
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 {

8
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 {

8
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 {

8
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;

4
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
}

6
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;
}

8
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;

4
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;

Loading…
Cancel
Save