elcrm 0.8.30 → 0.8.31

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -15,15 +15,15 @@ export declare function usePage(): any[];
15
15
  export declare function setPage(o: string, reload?: boolean): void;
16
16
  export declare function getPage(): any;
17
17
  export declare function isPage(page: string): boolean;
18
- export declare function useModule(fn?: (name: string) => void | string): string[] | undefined;
18
+ export declare function useModule(fn?: string | ((name: string) => void)): string[] | undefined;
19
19
  export declare function setModule(module: string, reload?: boolean): void;
20
20
  export declare function getModule(): any;
21
21
  export declare function isModule(module: string): boolean;
22
- export declare function useTabs(fn?: (name: string) => void | string): string[] | undefined;
22
+ export declare function useTabs(fn?: string | ((name: string) => void)): string[] | undefined;
23
23
  export declare function setTabs(tabs: string, reload?: boolean): void;
24
24
  export declare function getTabs(): any;
25
25
  export declare function isTabs(tab: string): boolean;
26
- export declare function useId(fn?: (id: number) => void | number): number[];
26
+ export declare function useId(fn?: number | ((id: number) => void)): number[] | undefined;
27
27
  export declare function subId(id: number): void;
28
28
  export declare function setId(id: number, reload?: boolean): void;
29
29
  export declare function getId(): any;