infer. Post #946
3.92K
https://alexharri.com/blog/build-schema-language-with-infer — отличный пример того, как надо работать с
Alexharri Build your own schema language with TypeScript’s infer keyword Case study on using TypeScript’s infer keyword, combined with recursive types, to create a custom schema language using template literal types.