We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 852f9be commit 47fa67fCopy full SHA for 47fa67f
test/types/after.test-d.ts
@@ -0,0 +1,9 @@
1
+import {expectType} from 'tsd';
2
+
3
+import * as fl from '../../index.js';
4
5
+expectType<fl.Resolved<number>> (fl.after (1) (42));
6
+expectType<fl.Resolved<string>> (fl.after (1) ('a'));
7
8
+// https://github.com/microsoft/TypeScript/issues/32277
9
+// expectType<fl.Never> (fl.after (Infinity) ('Finally!'));
0 commit comments