Skip to content

Commit

Permalink
prettier libdef: Make an object type explicitly inexact.
Browse files Browse the repository at this point in the history
I'm not so sure we need a libdef for `prettier`, actually.

Anyway, an instance of zulip#3452.
  • Loading branch information
chrisbobbe authored and gnprice committed Jul 2, 2021
1 parent be63db7 commit 1b8a377
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion flow-typed/prettier_v1.x.x.js
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,8 @@ declare module "prettier" {
formatWithCursor: (source: string, options: CursorOptions) => CursorResult,
resolveConfig: {
(filePath: string, options?: ResolveConfigOptions): Promise<?Options>,
sync(filePath: string, options?: ResolveConfigOptions): ?Options
sync(filePath: string, options?: ResolveConfigOptions): ?Options,
...
},
clearConfigCache: () => void,
getSupportInfo: (version?: string) => SupportInfo
Expand Down

0 comments on commit 1b8a377

Please sign in to comment.