Skip to content

Property typemustmatch not present on object #20756

@Vinnl

Description

@Vinnl

TypeScript Version: 2.5.3

Code

const element = <object
        data="some-link.pdf"
        type="application/pdf"
        typemustmatch={true}
      />;

Expected behavior:

No problem.

Actual behavior:

TS2339: Property 'typemustmatch' does not exist on type 'DetailedHTMLProps<ObjectHTMLAttributes<HTMLObjectElement>, HTMLObjectElement>'.

Metadata

Metadata

Assignees

Labels

Domain: lib.d.tsThe issue relates to the different libraries shipped with TypeScriptFixedA PR has been merged for this issueHelp WantedYou can do this

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions