diff --git a/lib/core/src/component/creator.ts b/lib/core/src/component/creator.ts index 8b59971957..4771f7edda 100644 --- a/lib/core/src/component/creator.ts +++ b/lib/core/src/component/creator.ts @@ -73,7 +73,7 @@ export function defineFn(name?: string) { /* Declare types. */ declare module 'cash-dom' { interface Cash { - zuiInit(this: Cash, options?: {update?: boolean}): Cash; + zuiInit(this: Cash, options?: {update?: boolean, beforeCreate?: BeforeCreateCallback, onCreate?: OnCreateCallback}): Cash; zui(this: Cash, name?: string, key?: string | number | true): ComponentClass | ComponentClass[] | Record | undefined; zuiCall(this: Cash, method: string, args?: unknown[]): Cash; }