mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 06:47:03 +00:00
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:
committed by
Sheetal Nandi
parent
b393b09efc
commit
8b940b4dba
Vendored
+5
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user