Skip to content

Fix typo in lib.dom.d.ts #21432

@mlhaufe

Description

@mlhaufe

Ref: https://github.com/Microsoft/TypeScript/blob/master/lib/lib.dom.d.ts#L14582

interface DocumentOrShadowRoot {
    ...
    readonly stylesheets: StyleSheetList;
    ...
}

The property stylesheets should be camelCase styleSheets as per: http://w3c.github.io/webcomponents/spec/shadow/#extensions-to-the-documentorshadowroot-mixin

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

BugA bug in TypeScriptDomain: lib.d.tsThe issue relates to the different libraries shipped with TypeScriptFixedA PR has been merged for this issue

Type

No type

Projects

No projects

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @mlhaufe@DanielRosenwasser@mhegazy

      Issue actions

        Fix typo in lib.dom.d.ts · Issue #21432 · microsoft/TypeScript