diff --git a/typescript/base/single/iframe/iframe.ts b/typescript/base/single/iframe/iframe.ts index a9a2c8bdf6..2b9f66db1b 100644 --- a/typescript/base/single/iframe/iframe.ts +++ b/typescript/base/single/iframe/iframe.ts @@ -10,7 +10,7 @@ export interface _Iframe extends _Single { getName(): string; } -export declare class iframe extends Single { +export declare class Iframe extends Single { static xtype: string; setSrc(v: string): void; diff --git a/typescript/core/wrapper/layout/layout.card.ts b/typescript/core/wrapper/layout/layout.card.ts index 35a4951430..91acaadbc0 100644 --- a/typescript/core/wrapper/layout/layout.card.ts +++ b/typescript/core/wrapper/layout/layout.card.ts @@ -14,7 +14,7 @@ export declare class CardLayout extends Layout { addCardByName(cardName: string, cardItem: any): Widget - showCardByName(cardName: string, action: any, callback: () => void): void; + showCardByName(cardName: string, action?: any, callback?: () => void): void; showLastCard(): void; diff --git a/typescript/index.ts b/typescript/index.ts index 5ba8fbffff..73bb05305b 100644 --- a/typescript/index.ts +++ b/typescript/index.ts @@ -8,7 +8,7 @@ import { _Button, _ButtonStatic, Button } from "./base/single/button/buttons/but import { TextButton, _TextButton, _TextButtonStatic } from "./base/single/button/buttons/button.text"; import { _IconTextItem, _IconTextItemStatic } from "./base/single/button/listitem/icontextitem"; import { _Editor, _EditorStatic, Editor } from "./base/single/editor/editor"; -import { iframe, _Iframe } from "./base/single/iframe/iframe"; +import { Iframe, _Iframe } from "./base/single/iframe/iframe"; import { _Checkbox, _CheckboxStatic } from "./base/single/input/checkbox"; import { _Input, _InputStatic } from "./base/single/input/input"; import { _AbstractLabel, AbstractLabel } from "./base/single/label/abstract.label"; @@ -336,5 +336,5 @@ export { CardLayout, DynamicYearMonthCombo, TimeCombo, - iframe, + Iframe, };