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; message: React.ReactNode;
type: 'info' | 'error' | 'warning' | 'success'; type: 'info' | 'error' | 'warning' | 'success';
} & BaseDialogOptions): Promise<void> & {close(): void} { } & BaseDialogOptions): Promise<void> & {close(): void} {
let modalRef: ReturnType<typeof Modal['info']>; let modalRef: ReturnType<(typeof Modal)['info']>;
return Object.assign( return Object.assign(
new Promise<void>((resolve) => { new Promise<void>((resolve) => {
modalRef = Modal[type]({ modalRef = Modal[type]({

View File

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

View File

@@ -98,7 +98,7 @@
"jest-fetch-mock": "^3.0.3", "jest-fetch-mock": "^3.0.3",
"less": "^4.1.2", "less": "^4.1.2",
"patch-package": "^6.4.7", "patch-package": "^6.4.7",
"prettier": "^2.6.2", "prettier": "^2.8.7",
"pretty-format": "^27.5.0", "pretty-format": "^27.5.0",
"rimraf": "^3.0.2", "rimraf": "^3.0.2",
"ts-jest": "^26.5.6", "ts-jest": "^26.5.6",

View File

@@ -12099,10 +12099,10 @@ prettier@^1.14.2:
resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.19.1.tgz#f7d7f5ff8a9cd872a7be4ca142095956a60797cb" resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.19.1.tgz#f7d7f5ff8a9cd872a7be4ca142095956a60797cb"
integrity sha512-s7PoyDv/II1ObgQunCbB9PdLmUcBZcnWOcxDh7O0N/UwDEsHyqkW+Qh28jW+mVuCdx7gLB0BotYI1Y6uI9iyew== integrity sha512-s7PoyDv/II1ObgQunCbB9PdLmUcBZcnWOcxDh7O0N/UwDEsHyqkW+Qh28jW+mVuCdx7gLB0BotYI1Y6uI9iyew==
prettier@^2.6.2: prettier@^2.8.7:
version "2.6.2" version "2.8.7"
resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.6.2.tgz#e26d71a18a74c3d0f0597f55f01fb6c06c206032" resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.8.7.tgz#bb79fc8729308549d28fe3a98fce73d2c0656450"
integrity sha512-PkUpF+qoXTqhOeWL9fu7As8LXsIUZ1WYaJiY/a7McAQzxjk82OF0tibkFXVCDImZtWxbvojFjerkiLb0/q8mew== integrity sha512-yPngTo3aXUUmyuTjeTUT75txrf+aMh9FiD7q9ZE/i6r0bPb22g4FsE6Y338PQX1bmfy08i9QQCB7/rcUAVntfw==
pretty-format@^25.5.0: pretty-format@^25.5.0:
version "25.5.0" version "25.5.0"