![javascript - Error: 'types' can only be used in a .ts file - Visual Studio Code using @ts-check - Stack Overflow javascript - Error: 'types' can only be used in a .ts file - Visual Studio Code using @ts-check - Stack Overflow](https://i.stack.imgur.com/SvosR.png)
javascript - Error: 'types' can only be used in a .ts file - Visual Studio Code using @ts-check - Stack Overflow
![javascript - Error: 'types' can only be used in a .ts file - Visual Studio Code using @ts-check - Stack Overflow javascript - Error: 'types' can only be used in a .ts file - Visual Studio Code using @ts-check - Stack Overflow](https://i.stack.imgur.com/kFSB0.png)
javascript - Error: 'types' can only be used in a .ts file - Visual Studio Code using @ts-check - Stack Overflow
![javascript - Error: 'types' can only be used in a .ts file - Visual Studio Code using @ts-check - Stack Overflow javascript - Error: 'types' can only be used in a .ts file - Visual Studio Code using @ts-check - Stack Overflow](https://i.stack.imgur.com/vzC1Q.png)
javascript - Error: 'types' can only be used in a .ts file - Visual Studio Code using @ts-check - Stack Overflow
![javascript - Error: 'types' can only be used in a .ts file - Visual Studio Code using @ts-check - Stack Overflow javascript - Error: 'types' can only be used in a .ts file - Visual Studio Code using @ts-check - Stack Overflow](https://i.stack.imgur.com/tMrjK.png)