-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
[bug] Syntax error in TypeScript type defination files #7325
Comments
I'm getting the same - sounds like this is a TypeScript issue then?
As per @TechQuery suggestions: export { MyModule } from './MyModule'; That worked! |
I encountered a similar problem with Parcel 2.0.1 and Typescript 4.5.2. Parcel 2.0.1 and Typescript 4.4.4 works for me. |
Typescript 4.5 added |
🎛 Configuration
package.json
tsconfig.json
🤔 Expected Behavior
Generate right Type Defination files for libraries, as what Parcel 2.0.0 did.
😯 Current Behavior
dist/index.d.ts
🌍 Your Environment
The text was updated successfully, but these errors were encountered: