frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Automatically add missing "async/await" keywords to your TypeScript code

https://github.com/stanNthe5/typescript-autoawait
7•theThree•9mo ago

Comments

bastawhiz•9mo ago
Is this a problem that people actually have?
xeromal•9mo ago
Fun side project man!
primitivesuave•9mo ago
I took a peek at the implementation - I think this only works for a case where the typing explicitly contains the string "Promise". For example, I don't think it would work if I use `SomeInterface["some_promise_key"]` or might incorrectly add an async if I use `Awaited<Promise<...>>`.

I think what you're trying to build might be best served by Typescript's VFS - https://www.npmjs.com/package/@typescript/vfs. You can load the local files into an in-memory type system, and quickly extract async/await hints that might be more useful for a typical TS developer. I think there's a lot of really interesting static analysis you could do to improve async/await safety, as it certainly leads to issues from time to time.

joshstrange•9mo ago
I do not want to be mean but I think you'd be much better served with ESLint rules to yell at you when you don't await when you should or do when you shouldn't.

This should _not_ be an automatic operation since it can change behavior in ways that will be unclear to the developer (completely undoing any gain from them being added automatically).

theThree•9mo ago
You can still control it by adding "//no-await". In fact, the "//no-await" makes me feel more clear.
nextweek2•9mo ago
I created a ticket, using comments is not necessary because there is already the `void` syntax for when you don't want to wait:

https://github.com/stanNthe5/typescript-autoawait/issues/1

nextweek2•9mo ago
It should be noted that there is already a lint rule for this: https://typescript-eslint.io/rules/no-floating-promises/

Show HN: SkillForge – Turn Screen Recordings into Agent-Ready Skills

https://skillforge.expert
1•YaraDori•4m ago•0 comments

Cost of Housing

https://geohot.github.io//blog/jekyll/update/2026/02/16/cost-of-housing.html
2•kart23•5m ago•0 comments

Show HN: I built a tool to poison audio files against AI training models

1•STEM_SAFE•8m ago•0 comments

The Uncanny Fluency

https://residualstream.app/blog/the-uncanny-fluency/
2•Abeeprodev•11m ago•0 comments

Why Running Alone Feels Harder Than Running with Someone

https://vo2maxpro.com/blog/why-running-alone-feels-harder
1•GoodluckH•13m ago•0 comments

Show HN: Crabify, a Spotify TUI

https://github.com/eiiot/crabify
1•eiiot•15m ago•0 comments

Aeris: Real-Time 3D Flight Tracking

https://aeris.edbn.me/
1•thunderbong•15m ago•0 comments

Harness engineering: leveraging Codex in an agent-first world

https://openai.com/index/harness-engineering/
1•vinhnx•19m ago•0 comments

Replacement crew docks at space station, boosts crew back to seven (PMC medical?

https://spaceflightnow.com/2026/02/15/replacement-crew-docks-at-space-station-boosts-crew-back-to...
1•bookmtn•20m ago•0 comments

Show HN: I replaced my SaaS stack with a single AI agent running on a Mac Mini

1•mupengism•21m ago•0 comments

A Single Reason to Not Vibe Code

https://asindu.xyz/a-single-reason-to-not-vibe-code
1•vinhnx•22m ago•0 comments

AI is slowly munching away my passion

https://whynot.fail/human/ai-is-slowly-munching-away-my-passion/
1•vinhnx•22m ago•0 comments

How were video transfers made? (2011)

https://www.film-tech.com/ubb/f12/t000972.html
1•exvi•22m ago•0 comments

The lost art of self-validation

https://www.ft.com/content/e39abf9d-53c1-4078-8f23-5cb810cc83b4
2•bookofjoe•29m ago•1 comments

Cintel

https://en.wikipedia.org/wiki/Cintel
1•exvi•29m ago•0 comments

Phantom Corsair

https://en.wikipedia.org/wiki/Phantom_Corsair
1•exvi•30m ago•0 comments

The first signs of burnout are coming from the people who embrace AI the most

https://techcrunch.com/2026/02/09/the-first-signs-of-burnout-are-coming-from-the-people-who-embra...
2•WaitWaitWha•34m ago•0 comments

Cognitive Meteorite and Possibilism, the Rational As-If Approach

https://jeanhugues.substack.com/p/meteorite-cognitive-et-possibilisme
1•jhrobert•34m ago•1 comments

Decode Url

https://kaizoku.digital/tools/decode-url/index.html
1•musti_92•36m ago•0 comments

Show HN: JobOps – self-hosted job hunt "Ironman Suit"

https://jobops.dakheera47.com/http://localhost:3005/docs/getting-started/self-hosting
1•dakheera47•36m ago•0 comments

Sync Apple Notes to Blog Using Shortcuts and GitHub Pages

https://docs.moire.blog/
1•aerisz•37m ago•1 comments

Show HN: Interpoll – Tamperproof Social Media

https://endless.sbs/Interpole/
2•thegoodduck•37m ago•0 comments

There is a hexagonal-shaped storm on Saturn's North Pole

https://science.nasa.gov/mission/cassini/science/saturn/hexagon-in-motion/
2•nomilk•37m ago•0 comments

Show HN: IconRulesAgent – Customize macOS App Icons

https://github.com/geoffoliver/IconRulesAgent
1•geoff1560•37m ago•0 comments

Sileo Toasts

https://sileo.aaryan.design/
1•handfuloflight•38m ago•0 comments

The 90-Degree Torque Problem [video]

https://www.youtube.com/watch?v=fbM3SqXLbgU
1•measurablefunc•41m ago•0 comments

TikTok's Chinese Parent Has an App to Replace Hollywood

https://www.wsj.com/tech/ai/tiktoks-chinese-parent-has-an-app-to-replace-hollywood-7b31c6df
4•JumpCrisscross•42m ago•0 comments

Show HN: Node.js native module for integrating Mediasoup with Audio AI models

https://github.com/Hilokal/audio-rtp-tools
1•jbaudanza•44m ago•0 comments

Show HN: MarginDash – See which AI customers are profitable

https://margindash.com/
1•gdhaliwal23•45m ago•1 comments

We may not have a model problem – we may have an execution boundary problem

https://github.com/Jang-Woo-AnnaSoft/execution-boundaries
1•Jang-woo•46m ago•1 comments