News for hackers. Stuff that matters.
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?

Re:All JavaScript and TypeScript features of the last 3 year... by TheCleric on Thursday March 09, 2023 @06:12PM (#35088192)
No, it usually returns a parsed object. For example the gql tag in the apollo client libraries return a completely parsed query with all its various children and sub-objects.