-
Notifications
You must be signed in to change notification settings - Fork 12.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
Property 'resize' does not exist on type 'CSSStyleDeclaration' #11589
Property 'resize' does not exist on type 'CSSStyleDeclaration' #11589
Comments
PRs welcomed. You can find more information about contributing lib.d.ts fixes at https://github.com/Microsoft/TypeScript/blob/master/CONTRIBUTING.md#contributing-libdts-fixes. |
That's a mighty intimidating set of contribution guidelines. I'll see if I
can find some time but for something so trivial I'll probably just continue
to use an extended interface as above, as IMO this is easier than making a
contribution here.
If a core contributor can find the time to add this in it would be much
appreciated.
|
The issue is up for grabs. Any interested member can pick it up. But I would say be the PR you want to see in the world ;) |
I will fix it. It should be easy. Just adding the missing type to the related json file in https://github.com/Microsoft/TSJS-lib-generator project. |
TypeScript Version: 2.0.3
Code
Expected behavior:
Actual behavior:
Property 'resize' does not exist on type 'CSSStyleDeclaration'
To workaround this I have created a new interface extending from
CSSStyleDeclaration
which does the trick for now.The text was updated successfully, but these errors were encountered: