* It returns true if file is supported. input can be in full file path or just filename with extension name. * @param file: can be path/subpath/file.ts or file.ts
(file: string)
| 65 | * @param file: can be path/subpath/file.ts or file.ts |
| 66 | */ |
| 67 | public static IsSupportedFile(file: string): boolean { |
| 68 | let ext = path.extname(file) || (file.startsWith('.') ? file : `.${file}`); |
| 69 | return SUPPORTED_EXT.indexOf(ext.toLowerCase()) > -1; |
| 70 | } |
| 71 | |
| 72 | |
| 73 | /** |
no outgoing calls
no test coverage detected