Post

Node.js v23.6.0 now runs TypeScript with no command line flag!

15 reposts114 likes

It can't resolve any imported TS modules for me. I've tried Matt P's recommended settings, but then my editor complains about needing require statements in the TS file.

Thanks. That actually breaks my app but I got around it with "moduleDetection": "force". I also had to add .ts extensions to all of my module imports, replace path aliases, and add "allowImportingTsExtensions": "true" to my tsconfig. The Node docs are good. I should have checked them sooner! 😅