Skip to content

Commit

Permalink
Expose Promise.withResolvers() type definition
Browse files Browse the repository at this point in the history
  • Loading branch information
TooTallNate committed Oct 26, 2024
1 parent d37aaef commit 78a3fac
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/fresh-crabs-attend.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@nx.js/runtime": patch
---

Expose `Promise.withResolvers()` type definition
1 change: 1 addition & 0 deletions packages/runtime/build.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@ ${transform(name, input, { removeTypes: globalNames })

const output = `/// <reference no-default-lib="true"/>
/// <reference lib="es2022" />
/// <reference lib="esnext.promise" />
${transform('globalThis', globalTypes)}
Expand Down

0 comments on commit 78a3fac

Please sign in to comment.