-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Typescript types are not properly exported #74
Comments
For anyone else stuck here, I've added a fix myself via patch-package:
diff --git a/node_modules/vite-plugin-eslint/package.json b/node_modules/vite-plugin-eslint/package.json
index afbc41c..5f6d8f7 100644
--- a/node_modules/vite-plugin-eslint/package.json
+++ b/node_modules/vite-plugin-eslint/package.json
@@ -9,6 +9,7 @@
"types": "./dist/index.d.ts",
"exports": {
".": {
+ "types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.js"
}
|
It happens when using recommended in TypeScript 5 |
What does it take to get this fixed? It seems like an easy thing to fix... I don't really want to use a patch-package mechanism, since I'm setting up a totally new virgin project. It feels dirty. |
johnnywwy
added a commit
to johnnywwy/water-drop-mobile
that referenced
this issue
Apr 28, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The text was updated successfully, but these errors were encountered: