tsr@1.3.4 when you import it like import tsr from 'tsr' then it gets imported from node_modules/tsr/dist/main.js, which has this on the first line import { tsr, Config } from "./tsr.js";
Config is only exported from the Typescript definition file, not from the js file, so import fails. Here's the raw error from nodejs
file:///.../node_modules/tsr/dist/main.js:1
import { tsr, Config } from "./tsr.js";
^^^^^^
SyntaxError: The requested module './tsr.js' does not provide an export named 'Config'
at ModuleJob._instantiate (node:internal/modules/esm/module_job:177:21)
at async ModuleJob.run (node:internal/modules/esm/module_job:260:5)
at async onImport.tracePromise.__proto__ (node:internal/modules/esm/loader:543:26)
at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:116:5)
Node.js v22.11.0