Updates Prettier API for version 1.19 (#40469)

* Updates Prettier to 1.19

See https://prettier.io/blog/2019/11/09/1.19.0.html#api

* Update index.d.ts

* Update index.d.ts

* Update index.d.ts

* Update index.d.ts
This commit is contained in:
Nathan Totten
2019-11-19 11:35:49 -08:00
committed by Sheetal Nandi
parent b393b09efc
commit 8b940b4dba
+5
View File
@@ -130,6 +130,10 @@ export interface RequiredOptions extends doc.printer.Options {
* Change when properties in objects are quoted.
*/
quoteProps: 'as-needed' | 'consistent' | 'preserve';
/**
* Whether or not to indent the code inside <script> and <style> tags in Vue files.
*/
vueIndentScriptAndStyle: boolean;
}
export interface ParserOptions extends RequiredOptions {
@@ -344,6 +348,7 @@ export interface FileInfoOptions {
ignorePath?: string;
withNodeModules?: boolean;
plugins?: string[];
resolveConfig?: boolean;
}
export interface FileInfoResult {