I want to do a project to scan the typescript integration level in the project。In my requirements, I want to use some rules to determine whether a vue file uses typescript.
Currently, I use lang="ts | tsx | TS | TSX"
to determine,I hope there will be some more detailed ts rules,For example, type: Object cannot be used in defineprops;Implicit typing cannot be used:ref("1") || ref(false)
I hope to achieve this through regularization or some other method.
4