(file: string)
| 60 | |
| 61 | /** Whether `file` is a TypeScript declaration file, the kind that declares a module whole. */ |
| 62 | export function isDeclarationFile(file: string): boolean { |
| 63 | return DECLARATION_FILE.test(file); |
| 64 | } |
| 65 | |
| 66 | /** Words that start an `export default` declaration rather than name its value. */ |
| 67 | const DEFAULT_DECLARATION_WORDS = new Set(['class', 'function', 'interface', 'abstract', 'async', 'enum']); |
no outgoing calls
no test coverage detected