Browse Source

Pull request #1637: KERNEL-6465 补充类型

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

* commit '63c487eeb1ca20f415dbac17dbfbd639e0460299':
  KERNEL-6465 补充类型
  KERNEL-6465 补充类型
master
Youki 4 years ago
parent
commit
d229616982
  1. 18
      typescript/base/single/label/abstract.label.ts
  2. 4
      typescript/base/single/label/label.ts

18
typescript/base/single/label/abstract.label.ts

@ -1,4 +1,4 @@
import { _Single } from "../single"; import { _Single, Single } from "../single";
export interface _AbstractLabel extends _Single { export interface _AbstractLabel extends _Single {
doRedMark(...args: any[]): void; doRedMark(...args: any[]): void;
@ -15,3 +15,19 @@ export interface _AbstractLabel extends _Single {
setStyle(css: any): void; setStyle(css: any): void;
} }
export declare class AbstractLabel extends Single {
doRedMark(...args: any[]): void;
unRedMark(...args: any[]): void;
doHighLight(...args: any[]): void;
unHighLight(...args: any[]): void;
setText(v: string): void;
getText(): string;
setStyle(css: any): void;
}

4
typescript/base/single/label/label.ts

@ -1,7 +1,9 @@
import { _AbstractLabel } from "./abstract.label"; import { _AbstractLabel, AbstractLabel } from "./abstract.label";
export interface _Label extends _AbstractLabel { export interface _Label extends _AbstractLabel {
doRedMark(...args: any[]): void; doRedMark(...args: any[]): void;
unRedMark(...args: any[]): void unRedMark(...args: any[]): void
} }
export declare class Label extends AbstractLabel {}

Loading…
Cancel
Save