-
-
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) remove ts-nocheck from image class #9036
Conversation
c81d3d1
to
bd67361
Compare
@@ -199,7 +198,7 @@ export class Image< | |||
this.setElement( | |||
typeof arg0 === 'string' | |||
? (( | |||
(this.canvas && getElementDocument(this.canvas.getElement())) || | |||
(this.canvas && getDocumentFromElement(this.canvas.getElement())) || |
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.
buuuug
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.
TS helps sometimes
Build Stats
|
enlivenObjectEnlivables(object, options), | ||
]).then(([el, filters = [], [resizeFilter] = [], hydratedProps = {}]) => { | ||
return new this(el, { | ||
...object, | ||
src, | ||
crossOrigin, |
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.
i suspect this is the cause of some breakage in image.clone i can't explain.
Motivation
Continue to enable type-checks.
Description
Breaking changes:
Changes
Gist
In Action