Skip to content

@tsconfig/node20 does not match Node Target Mapping wiki #308

@glasser

Description

@glasser

@tsconfig/node20 in this repo currently has lib es2023 and target es2022.

However, https://github.com/microsoft/TypeScript/wiki/Node-Target-Mapping suggests target es2023 for Node 20. This appears to have been a change to the Wiki made by @andrewbranch in December: https://github.com/microsoft/TypeScript/wiki/Node-Target-Mapping/_compare/fc10f937d057e53083f3466792cafaf02c773f30...40ebdf5b7839e149e6c20c127dca1ee31b987a64

Which target should we use, if we want to support Node v20?

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