-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Tauri npm packages contain .ts files #2598
Comments
We are aware of that and we were thinking of removing it as it is hard to support all typescript configurations. |
It's not really about supporting all typescript configurations, it's more that as far as I know typescript files generally shouldn't be in npm packages, instead it should just be |
Yeah generally npm packages don't ship |
is this the cause of #1699 ? ?? |
@gotjoshua yes, next release won't have this issue |
Describe the bug
When importing
@tauri-apps/api
, I get TypeScript errors/warnings/hints from insidenode_modules
.I thought this was an issue with
svelte-check
, but as explained in sveltejs/language-tools#1056 (comment) this happens because.ts
files are being imported fromnode_modules
.This might also be the cause of #2594
Platform and Versions
Details
Stack Trace
Details
The text was updated successfully, but these errors were encountered: