We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b559194 commit d556f09Copy full SHA for d556f09
lib/api/global.d.ts
@@ -0,0 +1,6 @@
1
+declare module 'await-to-js' {
2
+ export default function to<T, U = Error>(
3
+ promise: Readonly<Promise<T>>,
4
+ errorExt?: object
5
+ ): Promise<[U | null, T | undefined]>;
6
+}
0 commit comments