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/

Tab Organizer for Developer

https://github.com/gancio-xyz/dev-tab-organizer
1•alexfg93•46s ago•0 comments

Email for agents – agent doesn't need another Gmail

https://mails.dev/
1•guoyu•4m ago•0 comments

Webtool: Let AI agents control your live Chrome session with CDP

https://github.com/usewebtool/webtool
1•machinecontrol•5m ago•0 comments

Show HN: Railguard – A safer –dangerously-skip-permissions for Claude Code

https://github.com/railyard-dev/railguard
1•LunarFrost88•5m ago•1 comments

Top US counterterrorism official resigns over Iran war, urging Trump to 'reverse

https://www.bbc.com/news/articles/cg4g66r3z40o
5•tartoran•5m ago•0 comments

Ecological Institutionalism: Toward a Constitutional Architecture for Reciprocal

https://www.academia.edu/165204283/Ecological_Institutionalism_Toward_a_Constitutional_Architectu...
1•WGriffinIII•9m ago•1 comments

Less code, more power: Why we rolled our own React Server Components framework

https://www.aha.io/engineering/articles/why-we-rolled-our-own-rsc-framework
1•joshum97•9m ago•0 comments

QuickBooks Online MCP Server

https://github.com/intuit/quickbooks-online-mcp-server
1•nateb2022•10m ago•0 comments

How to Effectively Adopt AI Tooling in Software Development

https://akk.ad/posts/effectively-adopting-ai-tooling-in-software-claude-code/
1•louy•11m ago•0 comments

Show HN: One, cross domain auto-researching knowledge graph Claude orchestrator

https://github.com/bcd532/one
1•railugo•11m ago•0 comments

Rando Sans solves the biggest problem with handwriting fonts

https://www.creativebloq.com/design/fonts-typography/say-hello-to-the-worlds-most-random-font
1•bryanrasmussen•11m ago•1 comments

The Cost of Agentic Failure

https://www.oreilly.com/radar/the-hidden-cost-of-agentic-failure/
1•avyfain•12m ago•0 comments

Thinking Big

https://timvink.nl/blog/thinking-big/
1•timvink•12m ago•0 comments

Show HN: Flowershow Publish Markdown in seconds. Hosted, free, zero config

https://flowershow.app/
3•rufuspollock•13m ago•0 comments

Spaceflight Started 100 Years Ago in a Massachusetts Cabbage Patch

https://www.nytimes.com/2026/03/16/science/robert-goddard-rocket-100th-anniversary.html
1•saikatsg•13m ago•0 comments

AI Entrepreneurs

https://ai-entrepreneurs.jaksa.me/
1•jaksa•14m ago•0 comments

Alive – Five Markdown files that give Claude Code a persistent memory

1•benslockedin•14m ago•1 comments

Show HN: Agent Caching in Fiddler

https://www.telerik.com/blogs/stop-paying-same-answer-twice-agent-cache-fiddler-everywhere
2•zlatkov•15m ago•0 comments

Reversing BEDaisy.sys: Static Analysis of BattlEye's Kernel Anti-Cheat Driver

https://s4dbrd.github.io/posts/reversing-bedaisy/
2•vinhnx•17m ago•0 comments

Show HN: Sugar – Cross-project memory for AI coding agents via MCP

https://github.com/roboticforce/sugar/
1•cdnsteve•17m ago•0 comments

Garry Tan's thirteen opinionated workflow skills for Claude Code

https://github.com/garrytan/gstack
1•weinzierl•17m ago•1 comments

Are AI agents slowing us down?

https://newsletter.pragmaticengineer.com/p/are-ai-agents-actually-slowing-us
3•guillego•17m ago•0 comments

China's Fusion Magnet Technology Based on the Superconducting Tokamak Strategy

https://www.mdpi.com/3042-4860/2/1/3
2•PaulHoule•18m ago•0 comments

After three months, Samsung is ending sales of the $2,899 Galaxy Z TriFold

https://arstechnica.com/gadgets/2026/03/after-three-months-samsung-is-ending-sales-of-the-2899-ga...
1•LorenDB•18m ago•0 comments

I moved to the alps to shovel snow

https://senhongo.com/blog/shoveling-snow/
3•SenHeng•18m ago•0 comments

National Ferret School – Cable and threading ferrets

https://www.ferret-school.co.uk/working-ferrets/cable-laying
2•Aboutplants•18m ago•0 comments

Mastercard's new generative AI model

https://www.mastercard.com/us/en/news-and-trends/stories/2026/mastercard-new-generative-ai-model....
2•saikatsg•19m ago•0 comments

AI's Oppenheimer Moment

https://a16z.com/ais-oppenheimer-moment/
1•gmays•19m ago•0 comments

A.I. Chatbots Want Your Health Records. Tread Carefully

https://www.nytimes.com/2026/03/12/technology/personaltech/microsoft-copilot-health-ai-chatbots.html
1•1vuio0pswjnm7•20m ago•0 comments

Evolutionary Database Design

https://martinfowler.com/articles/evodb.html
1•vinhnx•20m ago•0 comments