Bump prettier from 2.6.2 to 2.8.7 in /desktop

Summary: Updates prettier and applies the fixes.

Reviewed By: antonk52

Differential Revision: D45087515

fbshipit-source-id: 226814ab4805eb12e64c2134407164498c708c0a
This commit is contained in:
Pascal Hartig
2023-04-19 03:04:19 -07:00
committed by Facebook GitHub Bot
parent 53aca9a661
commit 22e28a4f3e
4 changed files with 7 additions and 7 deletions

View File

@@ -160,7 +160,7 @@ export const Dialog = {
message: React.ReactNode;
type: 'info' | 'error' | 'warning' | 'success';
} & BaseDialogOptions): Promise<void> & {close(): void} {
let modalRef: ReturnType<typeof Modal['info']>;
let modalRef: ReturnType<(typeof Modal)['info']>;
return Object.assign(
new Promise<void>((resolve) => {
modalRef = Modal[type]({

View File

@@ -70,7 +70,7 @@ export const theme = {
} as const;
export type Spacing =
| keyof typeof theme['space']
| keyof (typeof theme)['space']
| number
| undefined
| boolean;