diff --git a/package.json b/package.json index ee4efd6ff2..2cb20dbe33 100644 --- a/package.json +++ b/package.json @@ -115,7 +115,7 @@ "eslint-plugin-import": "^2.25.4", "mobx": "5.13.0", "mobx-react": "6.1.1", - "prettier": "^2.7.1", + "prettier": "^2.8.2", "rc-table": "^7.17.1", "react-copy-to-clipboard": "^5.0.2", "react-draggable": "^4.4.5", diff --git a/src/models/timezone/timezone.types.ts b/src/models/timezone/timezone.types.ts index 6ed4026147..2b62579be0 100644 --- a/src/models/timezone/timezone.types.ts +++ b/src/models/timezone/timezone.types.ts @@ -1,4 +1,4 @@ -const tzs = [ +const tzs: string[] = [ 'Africa/Abidjan', 'Africa/Accra', 'Africa/Addis_Ababa', @@ -591,6 +591,6 @@ const tzs = [ 'W-SU', 'WET', 'Zulu', -] as const; +]; -export type Timezone = typeof tzs[number]; +export type Timezone = (typeof tzs)[number]; diff --git a/yarn.lock b/yarn.lock index 7d7cc95064..6ef39fdcce 100644 --- a/yarn.lock +++ b/yarn.lock @@ -10913,11 +10913,16 @@ prettier-linter-helpers@^1.0.0: dependencies: fast-diff "^1.1.2" -prettier@2.7.1, prettier@^2.7.1: +prettier@2.7.1: version "2.7.1" resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.7.1.tgz#e235806850d057f97bb08368a4f7d899f7760c64" integrity sha512-ujppO+MkdPqoVINuDFDRLClm7D78qbDt0/NR+wp5FqEZOoTNAjPHWj17QRhu7geIHJfcNhRk1XVQmF8Bp3ye+g== +prettier@^2.8.2: + version "2.8.2" + resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.8.2.tgz#c4ea1b5b454d7c4b59966db2e06ed7eec5dfd160" + integrity sha512-BtRV9BcncDyI2tsuS19zzhzoxD8Dh8LiCx7j7tHzrkz8GFXAexeWFdi22mjE1d16dftH2qNaytVxqiRTGlMfpw== + pretty-error@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/pretty-error/-/pretty-error-4.0.0.tgz#90a703f46dd7234adb46d0f84823e9d1cb8f10d6"