Skip to content

Invalid Typescript Types in lib/index.d.ts since 7.6.0 #10403

@adamdbradley

Description

@adamdbradley

Bug Report

Current Behavior
node_modules/@babel/types/lib/index.d.ts has invalid typescript since the 7.6.0 release: https://unpkg.com/browse/@babel/types@7.6.0/lib/index.d.ts line 2098

export function isNode(node: ?object): boolean

Environment

  • Babel version(s): 7.6.0

Possible Solution
Move the ? before the :

Metadata

Metadata

Assignees

No one assigned

    Labels

    Has PRi: regressionoutdatedA 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