3 ms·
not sure i understand the utility of this when format strings and string template types already exist. you can also use typescript-eslint/restrict-template-exp
by ruined 3y ago
not sure i understand the utility of this when format strings and string template types already exist.
you can also use typescript-eslint/restrict-template-expressions if you find yourself running into problems with that
https://typescript-eslint.io/rules/restrict-template-expressions/ https://typescript-eslint.io/rules/restrict-template-express...
- klodolph 3y agoI think this is less about the utility and more about showing off unusual ways to use the TypeScript type system.