Browse Source

KERNEL-6537 补充类型定义

es6
alan 4 years ago
parent
commit
7261f2377e
  1. 8
      typescript/base/single/img/img.ts
  2. 3
      typescript/index.ts

8
typescript/base/single/img/img.ts

@ -0,0 +1,8 @@
import { Single } from "../single";
export declare class Img extends Single {
static xtype: string;
setSrc(src: string): void;
getSrc(): string;
}

3
typescript/index.ts

@ -135,6 +135,7 @@ import { YearMonthInterval } from "./widget/yearmonthinterval/yearmonthinterval"
import { NumberEditor } from "./widget/numbereditor/numbereditor"; import { NumberEditor } from "./widget/numbereditor/numbereditor";
import { TextValueCheckCombo } from "./case/combo/textvaluecheckcombo/combo.textvaluecheck"; import { TextValueCheckCombo } from "./case/combo/textvaluecheckcombo/combo.textvaluecheck";
import { LinearSegment } from "./case/linersegment/linear.segment"; import { LinearSegment } from "./case/linersegment/linear.segment";
import { Img } from "./base/single/img/img";
type ClassConstructor<T extends {}> = T & { type ClassConstructor<T extends {}> = T & {
@ -285,6 +286,7 @@ export interface BI extends _func, _i18n, _base, _inject {
TextValueCheckCombo: typeof TextValueCheckCombo; TextValueCheckCombo: typeof TextValueCheckCombo;
NumberEditor: typeof NumberEditor; NumberEditor: typeof NumberEditor;
LinearSegment: typeof LinearSegment; LinearSegment: typeof LinearSegment;
Img: typeof Img;
} }
export default { export default {
@ -429,4 +431,5 @@ export {
TextValueCheckCombo, TextValueCheckCombo,
NumberEditor, NumberEditor,
LinearSegment, LinearSegment,
Img,
}; };

Loading…
Cancel
Save