diff --git a/typescript/base/single/iframe/iframe.ts b/typescript/base/single/iframe/iframe.ts index a9a2c8bdf..2b9f66db1 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 35a495143..91acaadbc 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 710d899ee..40b278f0c 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"; @@ -348,5 +348,5 @@ export { CardLayout, DynamicYearMonthCombo, TimeCombo, - iframe, + Iframe, };