Add missing export annotations

This commit is contained in:
Jessica
2019-02-06 20:54:29 +09:00
parent 8af624afbe
commit 987f88cc20
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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;
}
+1 -1
View File
@@ -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;
}