8000 Property 'sheet' does not exist on type 'SVGStyleElement' · Issue #36896 · microsoft/TypeScript · GitHub
[go: up one dir, main page]

Skip to content
Property 'sheet' does not exist on type 'SVGStyleElement' #36896
@waterplea

Description

@waterplea

TypeScript Version: 3.7.x-dev.201xxxxx

Search Terms: sheet, SVGStyleElement

Code

var c: SVGStyleElement;

console.log(c.sheet);

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 on SVGStyleElement.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA bug in TypeScriptDomain: lib.d.tsThe issue relates to the different libraries shipped with TypeScriptHelp WantedYou can do thisPursuitFellowshipHelp wanted from Pursuit fellowship; others please avoid until Dec 19

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0