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

Comments

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

Testing and Benchmarking of AI Compilers

https://www.broune.com/blog/testing-and-benchmarking-of-ai-compilers
1•matt_d•1m ago•0 comments

Ask HN: Why are my newsletters going to Promotions?

1•chistev•1m ago•0 comments

Buried in Snow, Yellowstone's Bison Have No Problems Weathering Winter

https://cowboystatedaily.com/2025/12/13/buried-in-snow-bison-have-no-problems-weathering-winter/
1•Bender•3m ago•0 comments

Ask HN: How to find community meetup groups?

1•Awesomedonut•8m ago•0 comments

Healthcare AI solo founders: What are some of the hardest problems you solved?

https://www.ottnoai.com/
1•drmsortiz•8m ago•1 comments

Systems of Record Are Evolving

https://cloudedjudgement.substack.com/p/clouded-judgement-121225-long-live
1•mauriziocalo•9m ago•0 comments

The Decline of the Frosted Glass Effect in Windows Design

https://www.hugdigi.com/developers-facts/the-decline-of-the-frosted-glass-effect-in-windows-desig...
1•jryb•10m ago•1 comments

Ownership types for flexible alias protection

https://dl.acm.org/doi/abs/10.1145/286936.286947
1•Brysonbw•13m ago•0 comments

Show HN

https://github.com/Noamismach/chronos_track/tree/v1.2
1•Noamis•13m ago•0 comments

A Timeline of Every "Saturday Night Live!" Cast Member

https://snl-timeline.ohkayblanket.com/
1•gaws•15m ago•0 comments

Building a Multilingual Medical Dictionary as a Graph Database

https://dgg32.medium.com/building-a-multilingual-medical-dictionary-as-a-graph-database-e9cdc579123d
1•Anon84•16m ago•0 comments

Show HN: Container-Maker–A standalone CLI for DevContainers(run without VS Code)

https://github.com/UPwith-me/Container-Maker
1•DEVINHE111•16m ago•0 comments

Capitalism in America – The Cult of Wealth

https://www.arte.tv/en/videos/103517-001-A/capitalism-in-america-the-cult-of-wealth-1-3/
4•exceptione•17m ago•1 comments

Dissecting AI Agent Applications: Lessons from the Most Innovative Use Cases

1•helain•18m ago•0 comments

A REST API for LLM latency and uptime metrics

https://metrik-dashboard.vercel.app/docs/api
1•meh_bouassamii•22m ago•0 comments

Disco is Google's new generative AI web app experience

https://blog.google/technology/google-labs/gentabs-gemini-3/
3•ChrisArchitect•24m ago•0 comments

The Typeframe PX-88 Portable Computing System

https://www.typeframe.net/
4•birdculture•24m ago•0 comments

Starting company vibecoding a saasplatform. Doomed from the start/take a chance?

2•Kaijla•24m ago•1 comments

Designing Gotham – the story behind the type family on its 25th anniversary

https://frerejones.com/blog/designing-gotham
1•ChrisArchitect•24m ago•0 comments

E Pluribus, Pauciores (Out of Many, Fewer): Diversity and Birth Rates

https://papers.ssrn.com/sol3/papers.cfm?abstract_id=4881921
2•like_any_other•26m ago•0 comments

Show HN: I built a circuit breaker that predicts AI failures

https://github.com/CULPRITCHAOS/Interlock
1•CULPRITCHAOS•27m ago•0 comments

Gentleman Guardian Angel – AI provider-agnostic code review via Git hook

https://github.com/Gentleman-Programming/gentleman-guardian-angel
2•simonpure•28m ago•0 comments

Sacrificing accessibility for not getting web scraped

https://tilschuenemann.de/projects/sacrificing-accessibility-for-not-getting-web-scraped
3•tilschuenemann•29m ago•0 comments

The mysterious MS-DOS reboot (2021)

https://www.edn.com/the-mysterious-ms-dos-reboot/
2•geox•32m ago•0 comments

Mistral Vibe

https://docs.mistral.ai/mistral-vibe/introduction/install
1•openplatypus•37m ago•0 comments

Baseline: Operation-Based Evolution and Versioning of Data

https://www.arxiv.org/pdf/2512.09762
1•todsacerdoti•40m ago•0 comments

What Happens When All Training Data Is AI Generated? [video]

https://www.youtube.com/watch?v=Bs_VjCqyDfU
1•btdmaster•43m ago•0 comments

Show HN: Instant Messaging in VSCode

https://marketplace.visualstudio.com/items?itemName=devchat-dev.devchat-im
1•milowata•44m ago•0 comments

Nexus STC: Distributed search engine and AI tools that grant access to knowledge

https://github.com/nexus-stc/stc
1•Ey7NFZ3P0nzAe•45m ago•0 comments

Calc.company – The calculator with enterprise-grade precision

https://calc.company
3•souvlakee•45m ago•1 comments