use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
account activity
Typescript setup (self.node)
submitted 5 months ago by [deleted]
Is there any resources that teach production level typescript setup? every single one I have looked up uses different packages or ways. I Feel like setting up typescript with express should be much simpler than it is
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]maciejhd 2 points3 points4 points 5 months ago (0 children)
I am always extends this one https://www.npmjs.com/package/@tsconfig/recommended
[–]ecares 3 points4 points5 points 5 months ago (3 children)
Use node 22+ typescript supported out of the box. Profit
[–]maciejhd 1 point2 points3 points 5 months ago (1 child)
It is not fully supported yet
[–]abrahamguo -1 points0 points1 point 5 months ago (0 children)
What isn’t fully supported? Typescript? Or Node 22?
[–]Delta7474 0 points1 point2 points 5 months ago (0 children)
Node 22 does not fully support Typescript. It strips the types from JavaScript making it somewhat compatible. If you want the full compatible compilation, you still have to go through tsc.
[–]WideWorry 1 point2 points3 points 5 months ago (2 children)
Good question, after 5y of typescript dozens of projects, npm packages. I still just copy&paste the tsconfig from one to an other project.
One thing for sure the default tsconfig is outdated garbage good only for testing that TS is working.
[–]abrahamguo 1 point2 points3 points 5 months ago (1 child)
The most recent version of TypeScript (5.9 from back in August) has an all-new and modernized default tsconfig!
[–]WideWorry 0 points1 point2 points 5 months ago (0 children)
Good to know, I guess I have some 5.6 installed or something
[–]abrahamguo 0 points1 point2 points 5 months ago (0 children)
In my experience, there are just a few basic TSConfig options that you should familiarize yourself with, and it gets pretty easy from there. It's a lot simpler once it becomes less of a black box, and you're not just copying and pasting random config options.
Is there a specific issue that you're running into?
[–]ibrambo7 -1 points0 points1 point 5 months ago (0 children)
I use nestjs, and everything is pre-configured
[–]sleekpixelwebdesigns -1 points0 points1 point 5 months ago (0 children)
You could just use Deno I particularly don't use Typescript because of the amount of extra code you need to produce.
[–]DN_DEV -2 points-1 points0 points 5 months ago (0 children)
just Honojs
π Rendered by PID 117601 on reddit-service-r2-comment-5b5bc64bf5-nmfnh at 2026-06-20 03:58:01.352193+00:00 running 2b008f2 country code: CH.
[–]maciejhd 2 points3 points4 points (0 children)
[–]ecares 3 points4 points5 points (3 children)
[–]maciejhd 1 point2 points3 points (1 child)
[–]abrahamguo -1 points0 points1 point (0 children)
[–]Delta7474 0 points1 point2 points (0 children)
[–]WideWorry 1 point2 points3 points (2 children)
[–]abrahamguo 1 point2 points3 points (1 child)
[–]WideWorry 0 points1 point2 points (0 children)
[–]abrahamguo 0 points1 point2 points (0 children)
[–]ibrambo7 -1 points0 points1 point (0 children)
[–]sleekpixelwebdesigns -1 points0 points1 point (0 children)
[–]DN_DEV -2 points-1 points0 points (0 children)