[prettier]: make some SupportLanguage configs optional (#37283)

* make codemirror configs optional

* Update index.d.ts

* Update types/prettier/index.d.ts

Co-Authored-By: Florian Keller <ffflorian@users.noreply.github.com>

* Update types/prettier/index.d.ts

Co-Authored-By: Florian Keller <ffflorian@users.noreply.github.com>
This commit is contained in:
Jiawen Geng
2019-08-01 12:43:45 -07:00
committed by Jesse Trinity
co-authored by Florian Keller
parent 72ed0bf233
commit 751f60b3df
+7 -7
View File
@@ -266,15 +266,15 @@ export interface SupportLanguage {
since?: string;
parsers: BuiltInParserName[] | string[];
group?: string;
tmScope: string;
aceMode: string;
codemirrorMode: string;
codemirrorMimeType: string;
tmScope?: string;
aceMode?: string;
codemirrorMode?: string;
codemirrorMimeType?: string;
aliases?: string[];
extensions: string[];
extensions?: string[];
filenames?: string[];
linguistLanguageId: number;
vscodeLanguageIds: string[];
linguistLanguageId?: number;
vscodeLanguageIds?: string[];
}
export interface SupportOptionDefault {