Skip to content
This repository was archived by the owner on Oct 1, 2025. It is now read-only.
This repository was archived by the owner on Oct 1, 2025. It is now read-only.

I can't set the meta http-equiv in Typescript #575

@Jordan-T

Description

@Jordan-T

In typescript, the meta http-equiv is not allowed:

{
  'http-equiv': 'X-UA-Compatible',
  content: 'IE=edge,chrome=1'
},

In the types, I found MetaPropertyEquiv with httpEquiv, so I fix with:

{
  httpEquiv: 'X-UA-Compatible',
  content: 'IE=edge,chrome=1'
},

If I use this, the result is httpequiv, not http-equiv:

<meta data-n-head="1" httpequiv="X-UA-Compatible" content="IE=edge,chrome=1">

How to fix this issue in typescript?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions