News for hackers. Stuff that matters.
Re:Show HN: Bolt – A super-fast, statically-typed scripting ... by jitl on Sunday August 10, 2025 @06:28PM (#44858844)
It’s great in TypeScript. In TypeScript your source can have inferred types returned, and then use a build step to produce resolved typings files (.d.ts) for distribution that have the fully specified type.
Re:Show HN: Bolt – A super-fast, statically-typed scripting ... by thrance on Sunday August 10, 2025 @07:36PM (#44859421)
Ah, true, now that you mention it. I feel like it's the best of both worlds, you get type inference and it gets documented automatically.