Re:All JavaScript and TypeScript features of the last 3 year...
by conaclos on Thursday March 09, 2023 @05:39PM
(#35087843)
> Libraries even let you do strong typing with TypeScript to define the expected structure of the result.
The tagged template does not return a string in this case?
After using the tagged template literal pattern for SQL queries exclusively for the past couple years, I can't say enough how awesome it is to use in practice. Libraries even let you do strong typing with TypeScript to define the expected structure of the result, e.g.