(filePath: string)
| 2059 | } |
| 2060 | |
| 2061 | function allowsJsx(filePath: string): boolean { |
| 2062 | return !/\.(?:ts|mts|cts)$/.test(filePath); |
| 2063 | } |
| 2064 | |
| 2065 | function scriptLanguage(filePath: string): Language { |
| 2066 | return /\.tsx$/.test(filePath) ? 'tsx' : /\.[cm]?ts$/.test(filePath) ? 'typescript' : /\.jsx$/.test(filePath) ? 'jsx' : 'javascript'; |
no outgoing calls
no test coverage detected