Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: fix failure to reference type definitions
- ref: mswjs/msw#1399 - ref: microsoft/TypeScript#46334
- Loading branch information
Showing
3 changed files
with
26 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
diff --git a/package.json b/package.json | ||
index 89136d298d5619b20c4272b5e2aa850a0f6e5c0d..7146cb182616530b5c6e766e253bc1fa4ae5c84d 100644 | ||
--- a/package.json | ||
+++ b/package.json | ||
@@ -12,6 +12,7 @@ | ||
"default": "./lib/native/index.js" | ||
}, | ||
"./node": { | ||
+ "types": "./lib/node/index.d.ts", | ||
"require": "./lib/node/index.js", | ||
"default": "./lib/node/index.mjs" | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.