Skip to content

Native Node TypeScript support #21

@dschmidt

Description

@dschmidt

Looking at the README it wasn't superclear to me, which tsconfig.json I should use when not using tsc or a bundler, but the native Node.js support which is enabled by default in Node 23 (https://nodejs.org/en/learn/typescript/run-natively)

After looking around a bit I'm assuming tsc/no-dom/app is what I want for this.
I'm aware that Node does not parse the tsconfig.json and does not respect any settings in there, but it's still important to have such a file to make the IDE handle imports correctly etc. (even when not running tsc)

My understdanding is that we don't need a new config, but it might be nice to mention it in the README.

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