Test for calling p-defer's resolve without any arguments

This commit is contained in:
Josh Duff
2018-06-05 10:36:03 -05:00
parent fb87b7f625
commit 424dc0ec03

View File

@@ -7,3 +7,7 @@ function delay(deferred: pDefer.DeferredPromise<string>, ms: number) {
let s: string;
async function f() { s = await delay(pDefer<string>(), 100); }
async function u() {
const u: Promise<any> = pDefer().resolve();
}