Update doc about utils for plugin authors (#17919)
Co-authored-by: fisker Cheung <lionkay@gmail.com>
This commit is contained in:
1 parent
a0d1241927
commit
a068b80168
1 file changed
+1
-1
+1
-1
@@ -518,7 +518,7 @@ export default {
|
||||
|
||||
### Utility functions
|
||||
|
||||
A `util` module from Prettier core is considered a private API and is not meant to be consumed by plugins. Instead, the `util-shared` module provides the following limited set of utility functions for plugins:
|
||||
`prettier.util` provides the following limited set of utility functions for plugins:
|
||||
|
||||
```ts
|
||||
type Quote = '"' | "'";
|
||||
|
||||
Reference in new issue
Block a user