Is there a way how to write a JavaScript regular expression that would recognize .ts file extension for this:
"file.ts"
but would fail on this:
"file.vue.ts"
What I need is, if the file name ends with .vue.ts, it shouldn't be handled as a .ts file.
I've tried a lot of things with no success.
Update: It needs to be a regular expression, because that's what I'm passing to a parameter of a function.