Skip to content

Commit

Permalink
fix: eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
orkestral committed Nov 8, 2021
1 parent c12dd74 commit 77a670b
Showing 1 changed file with 26 additions and 22 deletions.
48 changes: 26 additions & 22 deletions src/lib/wapi/store/get-store.d.ts
Original file line number Diff line number Diff line change
@@ -1,29 +1,33 @@
// Generated by dts-bundle-generator v5.9.0

export interface CN_O {
CN_RM?: boolean;
CN_OB?: boolean;
CN_CKN?: string[];
CN_RM?: boolean;
CN_OB?: boolean;
CN_CKN?: string[];
}
export declare type FindModules = (M: any, ID?: string) => boolean;
declare class getStore {
CN_INO(): void;
CN_RFM(): Promise<boolean>;
private mutationObserver;
private _modules;
get size(): number;
on(topic: string, cb: Function): boolean;
off(topic: string, cb?: Function): boolean;
private _events;
private _options;
protected emit(topic: string, ...args: any[]): void;
constructor(options?: CN_O);
CN_SMID(condition: FindModules, reverse?: boolean): string;
CN_SEM<T = any>(condition: FindModules, reverse?: boolean): T;
get<T = any>(moduleId: string): T;
forEach(callbackfn: (value: any, key: string, map: Map<string, any>) => void): void;
dispose(): void;
waitForModule<T = any>(condition: FindModules, reverse?: boolean, timeout?: number | false): Promise<T>;
CN_INO(): void;
CN_RFM(): Promise<boolean>;
private mutationObserver;
private _modules;
get size(): number;
on(topic: string, cb: Function): boolean;
off(topic: string, cb?: Function): boolean;
private _events;
private _options;
protected emit(topic: string, ...args: any[]): void;
constructor(options?: CN_O);
CN_SMID(condition: FindModules, reverse?: boolean): string;
CN_SEM<T = any>(condition: FindModules, reverse?: boolean): T;
get<T = any>(moduleId: string): T;
forEach(
callbackfn: (value: any, key: string, map: Map<string, any>) => void
): void;
dispose(): void;
waitForModule<T = any>(
condition: FindModules,
reverse?: boolean,
timeout?: number | false
): Promise<T>;
}
export default getStore;

Expand Down

0 comments on commit 77a670b

Please sign in to comment.