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•10mo ago

Comments

bastawhiz•10mo ago
Is this a problem that people actually have?
xeromal•10mo ago
Fun side project man!
primitivesuave•10mo 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•10mo 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•10mo ago
You can still control it by adding "//no-await". In fact, the "//no-await" makes me feel more clear.
nextweek2•10mo 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•10mo ago
It should be noted that there is already a lint rule for this: https://typescript-eslint.io/rules/no-floating-promises/

UzAuto Motors (Formerly GM Uzbekistan)

https://en.wikipedia.org/wiki/UzAuto_Motors
1•WorldPeas•1m ago•0 comments

Dasalinization Plants as Military Targets

https://theconversation.com/persian-gulf-desalination-plants-could-become-military-targets-in-reg...
1•HR01•3m ago•0 comments

Bomb Drugs

https://medicinalseedkit.com/kit/#aff=hfc13x9e67
1•kanpoltrece•3m ago•0 comments

20yrs later short history of B2B sales enablement knowledge management BizSphere

https://salesenablement.wordpress.com/2026/03/06/20-years-later-the-history-of-bizsphere-a-sales-...
1•SalesEnablement•4m ago•0 comments

Show HN: I built an AI-assisted roadmap tool to prioritize SaaS features

https://buildvote.com/
1•itsthatuser•4m ago•0 comments

Full-Stack AI Agent Template

https://github.com/vstorm-co/full-stack-ai-agent-template
1•kacper-vstorm•4m ago•0 comments

A Grand Vision for Rust

https://blog.yoshuawuyts.com/a-grand-vision-for-rust/
1•p4ul•6m ago•0 comments

Josh Waitzkin’s Chessmaster Lectures

https://www.youtube.com/playlist?list=PL1TfIrAqsOzcNSHV00pmvNusNTqYagQfz
1•skogstokig•6m ago•0 comments

Show HN: Automated Testing for AI Agents

https://agents.zalor.ai/
3•rishavmitra•6m ago•1 comments

Netflix Acquires Ben Affleck-Founded AI Moviemaking Business

https://news.bloomberglaw.com/artificial-intelligence/netflix-acquires-ben-affleck-founded-ai-mov...
1•mgh2•8m ago•0 comments

Show HN: Aidevshield NPM audit for AI coding tool workflows

https://github.com/aidevshield/aidevshield
1•GrimLabs•10m ago•0 comments

Show HN: A deterministic ecosystem simulator for long-horizon AI agents

https://biomesyn.com/
1•yangkecoy•11m ago•0 comments

Show HN: ThreatAlert – anonymous community incident map, no sign-up required

https://threatalert.live
1•TheProfitKing•11m ago•0 comments

Top Tech News Sites and Innovation Updates – BTW Media

https://btw.media/
1•Btmviolet123•11m ago•0 comments

Show HN: Whiplash – macOS menu bar app to track concurrent CLI agent sessions

https://arv.in/whiplash/
2•adangit•14m ago•0 comments

Your binary is no longer safe: Conversion with LLMs

https://reorchestrate.com/posts/your-binary-is-no-longer-safe-conversion/
1•pabs3•14m ago•0 comments

Your binary is no longer safe: Decompilation with LLMs

https://reorchestrate.com/posts/your-binary-is-no-longer-safe-decompilation/
1•pabs3•15m ago•0 comments

Chardet dispute shows how AI will kill software licensing, argues Bruce Perens

https://www.theregister.com/2026/03/06/ai_kills_software_licensing/
8•cwisecarver•19m ago•0 comments

Congress Is Considering Abolishing Your Right to Be Anonymous Online

https://theintercept.com/2026/03/05/kosa-online-age-verification-free-speech-privacy/
5•bilsbie•22m ago•1 comments

SAS Viya at SAS Innovate: What's new in data and AI (2025) [video]

https://www.youtube.com/watch?v=O0pFqhZl3fg
1•teleforce•25m ago•0 comments

Show HN: Build Agents and Autonomous Workflows with connections to 1k apps

https://usplus.ai:443/
1•usplusAI•25m ago•1 comments

Ask HN: Is there any CLI or MCP tools for filing US taxes?

1•sharno•25m ago•0 comments

Show HN: Nuke Claude Desktop from Orbit

https://gist.github.com/kordless/39db28a3e9d233bf3e8a6547026fe4c8
1•kordlessagain•25m ago•0 comments

Show HN: Almost Entirely Vibe Coded 3D C++ OpenGL Engine

https://github.com/msuvakovic/VLoom/tree/main
1•Umomgg•27m ago•0 comments

Ask HN: How are you using multi-agent AI systems in your daily workflow?

1•paifamily•33m ago•0 comments

Show HN: Virtual Indoor Cycling App (Now with Shiny GTK4/Adwaita GUI)

1•richbl•37m ago•0 comments

LEDs/M vs. 60 LEDs/M: Solving Dotting and Voltage Drop

1•emmasuntech•37m ago•0 comments

JJHub

https://jjhub.tech/
2•handfuloflight•40m ago•0 comments

Electrobun and WGPU: Tiny, cross-platform games and ML with Bun

https://blackboard.sh/blog/wgpu-in-electrobun/
2•yoav•43m ago•1 comments

Beyond Language Modeling: An Exploration of Multimodal Pretraining

https://arxiv.org/abs/2603.03276
1•gmays•44m ago•0 comments