Property 'sheet' does not exist on type 'SVGStyleElement' #36896
Labels
Bug
A bug in TypeScript
Domain: lib.d.ts
The issue relates to the different libraries shipped with TypeScript
Help Wanted
You can do this
PursuitFellowship
Help wanted from Pursuit fellowship; others please avoid until Dec 19
Milestone
TypeScript Version: 3.7.x-dev.201xxxxx
Search Terms: sheet, SVGStyleElement
Code
Expected behavior:
No error on
c.sheet
Actual behavior:
Error
Property 'sheet' does not exist on type 'SVGStyleElement'
Playground Link:
https://www.typescriptlang.org/play/?ssl=3&ssc=22&pln=1&pc=1#code/G4QwTgBAxgXBDKA1A4vALgTwDYFMCiuAtjgHZoDcAsAFA1QD2JAzvbgHRb0DmAFFG0wAWOHGgCU5IA
Additional info
Both Chrome and Firefox have
sheet
onSVGStyleElement
.The text was updated successfully, but these errors were encountered: