| 5 | type FilenameMatcher = string | RegExp; |
| 6 | |
| 7 | interface LanguageDescription { |
| 8 | name?: string; |
| 9 | alias?: readonly string[]; |
| 10 | extensions?: readonly string[]; |
| 11 | filenames?: readonly FilenameMatcher[]; |
| 12 | filename?: FilenameMatcher; |
| 13 | load?: () => Promise<Extension>; |
| 14 | } |
| 15 | |
| 16 | function normalizeModeKey(value: string): string { |
| 17 | return String(value ?? "") |
nothing calls this directly
no outgoing calls
no test coverage detected