Firebase Update
This commit is contained in:
13
express-server/node_modules/@protobufjs/aspromise/index.d.ts
generated
vendored
Normal file
13
express-server/node_modules/@protobufjs/aspromise/index.d.ts
generated
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
export = asPromise;
|
||||
|
||||
type asPromiseCallback = (error: Error | null, ...params: any[]) => {};
|
||||
|
||||
/**
|
||||
* Returns a promise from a node-style callback function.
|
||||
* @memberof util
|
||||
* @param {asPromiseCallback} fn Function to call
|
||||
* @param {*} ctx Function context
|
||||
* @param {...*} params Function arguments
|
||||
* @returns {Promise<*>} Promisified function
|
||||
*/
|
||||
declare function asPromise(fn: asPromiseCallback, ctx: any, ...params: any[]): Promise<any>;
|
Reference in New Issue
Block a user