Browse Source

KERNEL-6537 补充类型定义

es6
alan 4 years ago
parent
commit
2a0818bc9c
  1. 7
      typescript/case/linersegment/linear.segment.ts
  2. 3
      typescript/index.ts

7
typescript/case/linersegment/linear.segment.ts

@ -0,0 +1,7 @@
import { Widget } from "../../core/widget";
export declare class LinearSegment extends Widget {
static xtype: string;
setEnabledValue(v: any): void;
}

3
typescript/index.ts

@ -134,6 +134,7 @@ import { MultiSelectInsertList } from "./widget/multiselectlist/multiselectlist.
import { YearMonthInterval } from "./widget/yearmonthinterval/yearmonthinterval"; 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";
type ClassConstructor<T extends {}> = T & { type ClassConstructor<T extends {}> = T & {
@ -283,6 +284,7 @@ export interface BI extends _func, _i18n, _base, _inject {
YearMonthInterval: typeof YearMonthInterval; YearMonthInterval: typeof YearMonthInterval;
TextValueCheckCombo: typeof TextValueCheckCombo; TextValueCheckCombo: typeof TextValueCheckCombo;
NumberEditor: typeof NumberEditor; NumberEditor: typeof NumberEditor;
LinearSegment: typeof LinearSegment;
} }
export default { export default {
@ -426,4 +428,5 @@ export {
YearMonthInterval, YearMonthInterval,
TextValueCheckCombo, TextValueCheckCombo,
NumberEditor, NumberEditor,
LinearSegment,
}; };

Loading…
Cancel
Save