We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
default
Typescript keeps warning about anonymous default exports.
Anonymous default exports also has problems with being unable to declare the export type (microsoft/TypeScript#13626).
And Typescript might not be able to infer the export type too:
Thus, we should replace them with named export. From this:
import Code from '@tiptap/extension-code' export default Code.extend({ excludes: '' })
To this:
import Code from '@tiptap/extension-code' export const CodeNoExcludes = Code.extend({ excludes: '' })
The text was updated successfully, but these errors were encountered:
afc8014
EvitanRelta
No branches or pull requests
Typescript keeps warning about anonymous default exports.
Anonymous default exports also has problems with being unable to declare the export type (microsoft/TypeScript#13626).
And Typescript might not be able to infer the export type too:
Thus, we should replace them with named export. From this:
To this:
The text was updated successfully, but these errors were encountered: