visual studio code - Why am I getting “Type annotations can only be used in TypeScript files” with tsx files? - Stack Overflow

admin2025-04-30  1

enter image description here

i tired reinstall , reinstall the ts server different projects

but still same

anyone know the answer

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

its showing in all my projects

been confused with this its been a month

转载请注明原文地址:http://anycun.com/QandA/1746021345a91456.html