-
-
Notifications
You must be signed in to change notification settings - Fork 455
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
There is a problem with the export type for typescript #2558
Comments
Recommendation: Upgrade to the latest version of prettier. Explanation: You are likely using a newer version of Typescript than the version of prettier you have installed supports. Typescript features are added in new prettier releases. See the prettier blog to learn more about what features of typescript are enabled for each version of prettier: https://prettier.io/blog/ |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
example:
` ["ERROR" - 下午4:27:26] Error formatting document.
["ERROR" - 下午4:27:26] Declaration or statement expected. (5:1)
3 | import DiffusionWave from '../../../utils/diffusionWave';
4 | import LineManager from './LineManager';
For the new version of typescript, there is a problem with export type and prettier
The text was updated successfully, but these errors were encountered: