error TS2339: Property 'userSelect' does not exist on type 'CSSStyleDeclaration' #13506
Labels
Domain: lib.d.ts
The issue relates to the different libraries shipped with TypeScript
Fixed
A PR has been merged for this issue
Help Wanted
You can do this
Suggestion
An idea for TypeScript
Milestone
TypeScript Version: 2.1.5
Code
Expected behavior:
since the user-select css property is now unprefixed, it would be good to be able to set it!
Actual behavior:
tsc compile error:
error TS2339: Property 'userSelect' does not exist on type 'CSSStyleDeclaration'.
More
According to caniuse.com, unprefixed user-select is available in IE11, Edge, Chrome and Firefox
The text was updated successfully, but these errors were encountered: