mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
chore: add new parsers for latest prettier version. (#30516)
This commit is contained in:
parent
e2abd0821e
commit
112cc3e073
8
types/prettier/index.d.ts
vendored
8
types/prettier/index.d.ts
vendored
@ -1,4 +1,4 @@
|
||||
// Type definitions for prettier 1.13
|
||||
// Type definitions for prettier 1.15
|
||||
// Project: https://github.com/prettier/prettier
|
||||
// Definitions by: Ika <https://github.com/ikatyang>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
@ -33,7 +33,11 @@ export type BuiltInParserName =
|
||||
| 'json-stringify'
|
||||
| 'graphql'
|
||||
| 'markdown'
|
||||
| 'vue';
|
||||
| 'vue'
|
||||
| 'html'
|
||||
| 'angular'
|
||||
| 'mdx'
|
||||
| 'yaml';
|
||||
|
||||
export type CustomParser = (text: string, parsers: Record<BuiltInParserName, BuiltInParser>, options: Options) => AST;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user