prettier 3.0.0-alpha.9-for-vscode → 3.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.d.ts CHANGED
@@ -405,10 +405,6 @@ export interface RequiredOptions extends doc.printer.Options {
405
405
  * Provide ability to support new languages to prettier.
406
406
  */
407
407
  plugins: Array<string | Plugin>;
408
- /**
409
- * Specify plugin directory paths to search for plugins if not installed in the same `node_modules` where prettier is located.
410
- */
411
- pluginSearchDirs: string[] | false;
412
408
  /**
413
409
  * How to handle whitespaces in HTML.
414
410
  * @default "css"
@@ -449,9 +445,7 @@ export interface ParserOptions<T = any> extends RequiredOptions {
449
445
 
450
446
  export interface Plugin<T = any> {
451
447
  languages?: SupportLanguage[] | undefined;
452
- parsers?:
453
- | { [parserName: string]: Parser<T> | (() => Promise<Parser<T>>) }
454
- | undefined;
448
+ parsers?: { [parserName: string]: Parser<T> } | undefined;
455
449
  printers?: { [astFormat: string]: Printer<T> } | undefined;
456
450
  options?: SupportOptions | undefined;
457
451
  defaultOptions?: Partial<RequiredOptions> | undefined;