Skip to content

Commit

Permalink
* core: refactor types of $.fn.zuiInit.
Browse files Browse the repository at this point in the history
  • Loading branch information
catouse committed Jul 16, 2024
1 parent 9eb69ac commit 902f9e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/core/src/component/creator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<string, ComponentClass> | undefined;
zuiCall(this: Cash, method: string, args?: unknown[]): Cash;
}
Expand Down

0 comments on commit 902f9e5

Please sign in to comment.