Skip to content

Value property of templateElement type missing documentation #10195

Description

@eobodo

Link: https://babeljs.io/docs/en/next/babel-types.html#templateelement

Docs reads: value (required)

According to astExplorer it should be: {raw: string, cooked: string}

Babel also doesn't throw if you construct a templateElement without this object, and produces wrong output.

Metadata

Metadata

Assignees

No one assigned

    Labels

    i: needs triageoutdatedA closed issue/PR that is archived due to age. Recommended to make a new issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions