-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
chore(TS): complete type check #9119
Conversation
Build Stats
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good enough I think
coverage dropped by .06% |
The remaining 4 |
@@ -293,7 +293,7 @@ export class TextSVGExportMixin extends FabricObjectSVGExportMixin { | |||
* @return {String} | |||
*/ | |||
getSvgStyles(this: TextSVGExportMixin & Text, skipShadow?: boolean) { | |||
// @ts-ignore this line is not error free. ( super is not the same type as this ) | |||
// @ts-expect-error TS doesn't respect this type casting |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
to my vscode thise line wasn't an error and LINT was complaining i was using an unused expect-error. Don't you have that?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same
But the rollup ts plugin throws
Motivation
Description
Remove remaining
@ts-nocheck
Changes
Gist
In Action