The npmjs website doesn’t show the TypeScript badge for packages that use simple package exports #134258
Unanswered
remcohaszing
asked this question in
npm
Replies: 1 comment
-
Looks like it's required to have a "top" level I had {
"exports": {
".": {
"types": "./src/types/index.d.ts",
"import": "./src/index.js"
},
}
} So will try adding the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
codemirror-languageservice
is fully typed, but it doesn’t have the TypeScript badge on the package page on npmjs.com.See https://arethetypeswrong.github.io/[email protected] for details. I decided to not support the
node10
module resolution, as people should no longer use that in their projects.Beta Was this translation helpful? Give feedback.
All reactions