Skip to content

Commit

Permalink
publish: output for 19b9aa1
Browse files Browse the repository at this point in the history
  • Loading branch information
leonardssh committed Dec 23, 2021
1 parent 996ecc1 commit 0d97473
Show file tree
Hide file tree
Showing 5 changed files with 2,550 additions and 6 deletions.
6 changes: 3 additions & 3 deletions dist/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export declare function callBrowsers<T = any>(player: PlayerMp | string, name?:
* @param options - Any options.
* @returns The result from the procedure.
*/
export declare function callClient<T = any>(player: PlayerMp | string | null, name?: string | any, args?: any, options?: CallOptions): Promise<T>;
export declare function callClient<T = any>(player: PlayerMp | string, name?: string | any, args?: any, options?: CallOptions): Promise<T>;

export declare interface CallOptions {
timeout?: number;
Expand Down Expand Up @@ -130,7 +130,7 @@ export declare function triggerBrowser(browser: BrowserMp, name: string, args?:
* @param name - The name of the event.
* @param args - Any parameters for the event.
*/
export declare function triggerBrowsers(player: PlayerMp | string | null, name?: string | any, args?: any): void;
export declare function triggerBrowsers(player: PlayerMp | string, name?: string | any, args?: any): void;

/**
* Triggers an event registered on the client.
Expand All @@ -141,7 +141,7 @@ export declare function triggerBrowsers(player: PlayerMp | string | null, name?:
* @param name - The name of the event.
* @param args - Any parameters for the event.
*/
export declare function triggerClient(player: PlayerMp | string | null, name?: string | any, args?: any): void;
export declare function triggerClient(player: PlayerMp | string, name?: string | any, args?: any): void;

/**
* Triggers an event registered on the server.
Expand Down
Loading

0 comments on commit 0d97473

Please sign in to comment.