Tip: ts-node differs slightly from tsc. It will not load files from tsconfig.json by default. Instead, ts-node starts from the input file and discovers the rest of the project tree through imports and references.
This is unfortunate for me. Essentially, I have a project where I can't add /// <references to the sources because the target (JS or WASM) is interchangeable, and the necessary declarations are added through extending different base tsconfig.jsons, relying on files being included.
Is there a way to force the old behavior in new versions of ts-node?
This is unfortunate for me. Essentially, I have a project where I can't add
/// <references to the sources because the target (JS or WASM) is interchangeable, and the necessary declarations are added through extending different basetsconfig.jsons, relying onfilesbeing included.Is there a way to force the old behavior in new versions of
ts-node?