Skip to content

Commit 5a90fed

Browse files
committed
feat: add index.d.ts
Avoid forcing users to install @types/queue-microtask (if it existed) or create their own local types. This is very small, so maintenance cost is virtually none.
1 parent f2a76e7 commit 5a90fed

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

index.d.ts

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
declare const queueMicrotask: (cb: () => void) => void
2+
export = queueMicrotask

0 commit comments

Comments
 (0)