Might it be that the version of typescript you are trying to use it with is under version 4? Template Literal Types are not available in versions below 4.
You can check it in the playground: once you choose version under 4, you start getting errors
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hi i've tried to use your code, but there is an error.
dev-to-uploads.s3.amazonaws.com/up...
Might it be that the version of typescript you are trying to use it with is under version 4? Template Literal Types are not available in versions below 4.
You can check it in the playground: once you choose version under 4, you start getting errors