Hacker GitHub

← All repos

nonara/ts-patch

View on GitHub ↗ ★ 956 TypeScript

Augment the TypeScript compiler to support extended functionality

4 mentions on Hacker News by 4 people: 0 stories, 4 comments · first 2023-07-05 · latest 2025-11-18

Mentions per year 4 mentions · busiest year 2023 (2)
20082026
  1. …This is a bit difficult as it's not very well documented, but take a look at the examples in https://github.com/nonara/ts-patch Essentially, you add a preprocessing stage to the compiler that can either enforce rules or alter the code It…
  2. …thread! Might be bumpy, but a pure TS approach is really appealing. I'm rooting for them :) [0] https://github.com/nonara/ts-patch/issues/181#issuecomment-2...
  3. …under the impression the TS team was against the use of types at runtime (that's why projects like https://github.com/nonara/ts-patch exist), but now they're doing it themselves with this project... I wonder what the performance overhead…
    comment by katamaster818 · 2023-07-20 · in TypeChat
  4. …GPT-4 just led me astray... [0] https://github.com/itsdouges/typescript-transformer-handbook [1] https://github.com/nonara/ts-patch