UNPKG

526 BTypeScriptView Raw
1export interface Language {
2 readonly id: string;
3 readonly name: string;
4 readonly extensions: Set<string>;
5 readonly filenames: Set<string>;
6}
7export declare class LanguageService {
8 /**
9 * It should be implemented by an extension, e.g. by the monaco extension.
10 */
11 get languages(): Language[];
12 /**
13 * It should be implemented by an extension, e.g. by the monaco extension.
14 */
15 getLanguage(languageId: string): Language | undefined;
16}
17//# sourceMappingURL=language-service.d.ts.map
\No newline at end of file