Skip to content

Commit

Permalink
Update prettier and re-add import type
Browse files Browse the repository at this point in the history
  • Loading branch information
ibacher committed Sep 15, 2023
1 parent 417d681 commit be8e022
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
"jest-environment-jsdom": "^29.5.0",
"jest-when": "^3.5.2",
"openmrs": "next",
"prettier": "^1.18.2",
"prettier": "^3.0.0",
"pretty-quick": "^1.11.1",
"react": "^18.2.0",
"react-i18next": "^11.18.1",
Expand Down
2 changes: 1 addition & 1 deletion src/utils/error-utils.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { showToast } from '@openmrs/esm-framework';
import { TFunction } from 'i18next';
import { type TFunction } from 'i18next';

export function reportError(error: Error, t: TFunction): void {
if (error) {
Expand Down
12 changes: 6 additions & 6 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2788,7 +2788,7 @@ __metadata:
jest-when: ^3.5.2
lodash-es: ^4.17.15
openmrs: next
prettier: ^1.18.2
prettier: ^3.0.0
pretty-quick: ^1.11.1
react: ^18.2.0
react-anchor-link-smooth-scroll: ^1.0.12
Expand Down Expand Up @@ -13272,12 +13272,12 @@ __metadata:
languageName: node
linkType: hard

"prettier@npm:^1.18.2":
version: 1.19.1
resolution: "prettier@npm:1.19.1"
"prettier@npm:^3.0.0":
version: 3.0.3
resolution: "prettier@npm:3.0.3"
bin:
prettier: ./bin-prettier.js
checksum: bc78219e0f8173a808f4c6c8e0a137dd8ebd4fbe013e63fe1a37a82b48612f17b8ae8e18a992adf802ee2cf7428f14f084e7c2846ca5759cf4013c6e54810e1f
prettier: bin/prettier.cjs
checksum: e10b9af02b281f6c617362ebd2571b1d7fc9fb8a3bd17e371754428cda992e5e8d8b7a046e8f7d3e2da1dcd21aa001e2e3c797402ebb6111b5cd19609dd228e0
languageName: node
linkType: hard

Expand Down

0 comments on commit be8e022

Please sign in to comment.