+ Updated: build & d.ts (for last commit)

This commit is contained in:
Pavel Torbeev 2019-12-26 19:59:08 +05:00
parent a47449e7cb
commit 4a676eca67
2 changed files with 3 additions and 3 deletions

4
dist/rage-rpc.d.ts vendored
View File

@ -1,6 +1,6 @@
export as namespace rpc; export as namespace rpc;
export function register(name: string, cb: ProcedureListener): void; export function register(name: string, cb: ProcedureListener): Function;
export function unregister(name: string): void; export function unregister(name: string): void;
export function call<T = any>(name: string, args?: any, options?: CallOptions): Promise<T>; export function call<T = any>(name: string, args?: any, options?: CallOptions): Promise<T>;
export function callServer<T = any>(name: string, args?: any, options?: CallOptions): Promise<T>; export function callServer<T = any>(name: string, args?: any, options?: CallOptions): Promise<T>;
@ -10,7 +10,7 @@ export function callBrowsers<T = any>(player: Player, name: string, args?: any,
export function callBrowsers<T = any>(name: string, args?: any, options?: CallOptions): Promise<T>; export function callBrowsers<T = any>(name: string, args?: any, options?: CallOptions): Promise<T>;
export function callBrowser<T = any>(browser: Browser, name: string, args?: any, options?: CallOptions): Promise<T>; export function callBrowser<T = any>(browser: Browser, name: string, args?: any, options?: CallOptions): Promise<T>;
export function on(name: string, cb: ProcedureListener): void; export function on(name: string, cb: ProcedureListener): Function;
export function off(name: string, cb: ProcedureListener): void; export function off(name: string, cb: ProcedureListener): void;
export function trigger(name: string, args?: any): void; export function trigger(name: string, args?: any): void;
export function triggerServer(name: string, args?: any): void; export function triggerServer(name: string, args?: any): void;

File diff suppressed because one or more lines are too long