Type annotations can only be used in TypeScript files.Vetur(8010)

The solution for “Type annotations can only be used in TypeScript files.Vetur(8010)” can be found here. The following code will assist you in solving the problem.

Ensure I had lang=”ts” as an attribute in my script tag (as described above)

Thank you for using DeclareCode; We hope you were able to resolve the issue.

More questions on [categories-list]

0
inline scripts encapsulated in