Last active
June 26, 2022 17:00
-
-
Save rinsuki/53363f7411c98fee69fa4f3b17448cc6 to your computer and use it in GitHub Desktop.
yarn patch for typeorm@0.3.6 with TS 4.7
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
diff --git a/package.json b/package.json | |
index 36b0d579bce1cea8f9bbe373a92f28eb275d72a5..ccfe1dd9cac7d6792f1dfe4cba845748f3c2fbdb 100644 | |
--- a/package.json | |
+++ b/package.json | |
@@ -14,6 +14,7 @@ | |
}, | |
"exports": { | |
".": { | |
+ "types": "./index.d.ts", | |
"node": { | |
"import": "./index.mjs", | |
"require": "./index.js" | |
@@ -24,7 +25,10 @@ | |
"default": "./index.js" | |
} | |
}, | |
- "./browser": "./browser/index.js", | |
+ "./browser": { | |
+ "types": "./browser/index.d.ts", | |
+ "default": "./browser/index.js" | |
+ }, | |
"./*.js": "./*.js", | |
"./*": { | |
"require": "./*.js", |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment