(f: string)
| 2949 | return m ? m[2]! : null; |
| 2950 | }; |
| 2951 | const declaredIn = (f: string) => ctx.getNodesInFile(f).filter((n) => n.name === name && CONSTANT_KINDS.has(n.kind)); |
| 2952 | const js = /\.(?:[cm]?[jt]sx?)$/.test(file); |
| 2953 | const language: Language = /\.tsx$/.test(file) ? 'tsx' : /\.[cm]?ts$/.test(file) ? 'typescript' : file.endsWith('.jsx') ? 'jsx' : 'javascript'; |
| 2954 | const importedFile = (local: string): string | null => { |
no test coverage detected