htm
htm copied to clipboard
type checking templates
I hope TypeScript will land this
- https://github.com/microsoft/TypeScript/issues/29432
- https://github.com/microsoft/TypeScript/issues/33304
- https://github.com/microsoft/TypeScript/issues/31422
- https://github.com/microsoft/TypeScript/pull/49552
sooner than later, and I also saw
- https://github.com/developit/htm/issues/73
In the meantime, have there been any other ways to type check developit/htm's tagged template strings? For example any fork of ts-lit-plugin or anything else?
For reference, we've done this in gql.tada for GraphQL document strings https://github.com/0no-co/gql.tada