6 lines
395 B
Markdown
6 lines
395 B
Markdown
#### Allow `plugin.parser.preprocess()` to return a `Promise` (#17679 by @fisker)
|
|
|
|
Align with [`plugin.printer.preprocess()`](https://prettier.io/docs/plugins#optional-preprocess), which allows to return a `Promise`.
|
|
|
|
We still suggest move your async work into `plugin.parser.parse()`, which already allow to return a `Promise`, we may remove support for `plugin.parser.preprocess()` in future.
|