初始化
This commit is contained in:
8
uni_modules/UniDevTools/node_modules/licia/golangify.d.ts
generated
vendored
Normal file
8
uni_modules/UniDevTools/node_modules/licia/golangify.d.ts
generated
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
declare function golangify<T, U = Error>(
|
||||
fn: (...args: any[]) => Promise<T>
|
||||
): (...args: any[]) => Promise<[T | undefined, U | null]>;
|
||||
declare function golangify<T, U = Error>(
|
||||
p: Promise<T>
|
||||
): Promise<[T | undefined, U | null]>;
|
||||
|
||||
export = golangify;
|
||||
Reference in New Issue
Block a user