diff --git a/typescript/base/single/label/abstract.label.ts b/typescript/base/single/label/abstract.label.ts index d0a39476c9..5f1972b911 100644 --- a/typescript/base/single/label/abstract.label.ts +++ b/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 { doRedMark(...args: any[]): void; @@ -15,3 +15,19 @@ export interface _AbstractLabel extends _Single { 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; +} diff --git a/typescript/base/single/label/label.ts b/typescript/base/single/label/label.ts index 03f5f2e38d..17212a5c63 100644 --- a/typescript/base/single/label/label.ts +++ b/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 { doRedMark(...args: any[]): void; unRedMark(...args: any[]): void } + +export declare class Label extends AbstractLabel {}