(wasmFile: string)
| 42 | } |
| 43 | |
| 44 | async function loadLanguage(wasmFile: string): Promise<Language> { |
| 45 | const buf = await readFile(join(PUBLIC_DIR, wasmFile)); |
| 46 | return Language.load(buf); |
| 47 | } |
| 48 | |
| 49 | let tsParser: Parser | null = null; |
| 50 | let tsxParser: Parser | null = null; |
no test coverage detected