mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-16 23:10:29 +00:00
Add missing export annotations
This commit is contained in:
+1
-1
@@ -297,7 +297,7 @@ export function act(callback: () => void | undefined): DebugPromiseLike | {};
|
||||
|
||||
// Intentionally doesn't extend PromiseLike<never>.
|
||||
// Ideally this should be as hard to accidentally use as possible.
|
||||
interface DebugPromiseLike {
|
||||
export interface DebugPromiseLike {
|
||||
// the actual then() in here is 0-ary, but that doesn't count as a PromiseLike.
|
||||
then(onfulfilled: (value: never) => never, onrejected: (reason: never) => never): never;
|
||||
}
|
||||
|
||||
Vendored
+1
-1
@@ -70,7 +70,7 @@ export function act(callback: () => void | undefined): DebugPromiseLike | {};
|
||||
|
||||
// Intentionally doesn't extend PromiseLike<never>.
|
||||
// Ideally this should be as hard to accidentally use as possible.
|
||||
interface DebugPromiseLike {
|
||||
export interface DebugPromiseLike {
|
||||
// the actual then() in here is 0-ary, but that doesn't count as a PromiseLike.
|
||||
then(onfulfilled: (value: never) => never, onrejected: (reason: never) => never): never;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user