[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-02 03:43:45 +08:00 committed by Jesse Trinity
parent 72ed0bf233
commit 751f60b3df

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 {