Browse Source

KERNEL-7263 refactor:类型补充

master
Jimmy.Chai 4 years ago
parent
commit
5a2b81241b
  1. 5
      typescript/core/wrapper/layout/layout.adaptive.ts
  2. 3
      typescript/index.ts

5
typescript/core/wrapper/layout/layout.adaptive.ts

@ -0,0 +1,5 @@
import { Layout } from "../layout";
export declare class AdaptiveLayout extends Layout {
static xtype: string;
}

3
typescript/index.ts

@ -155,6 +155,7 @@ import { ImageButton } from './base/single/button/buttons/button.image';
import { History, Router } from "./router/router"; import { History, Router } from "./router/router";
import { DateTimeCombo } from './widget/datetime/datetime.combo'; import { DateTimeCombo } from './widget/datetime/datetime.combo';
import { FloatHorizontalLayout } from "./core/wrapper/layout/adapt/float.horizontal"; import { FloatHorizontalLayout } from "./core/wrapper/layout/adapt/float.horizontal";
import { AdaptiveLayout } from "./core/wrapper/layout/layout.adaptive";
export interface BI extends _func, _i18n, _base, _inject, _var, _web, _utils { export interface BI extends _func, _i18n, _base, _inject, _var, _web, _utils {
@ -316,6 +317,7 @@ export interface BI extends _func, _i18n, _base, _inject, _var, _web, _utils {
history: History, history: History,
DateTimeCombo: typeof DateTimeCombo; DateTimeCombo: typeof DateTimeCombo;
FloatHorizontalLayout: typeof FloatHorizontalLayout; FloatHorizontalLayout: typeof FloatHorizontalLayout;
AdaptiveLayout: typeof AdaptiveLayout;
} }
export default { export default {
@ -479,4 +481,5 @@ export {
History, History,
DateTimeCombo, DateTimeCombo,
FloatHorizontalLayout, FloatHorizontalLayout,
AdaptiveLayout,
}; };

Loading…
Cancel
Save