Skip to content

Commit

Permalink
chore(deps): update dependency typescript to v4.9.3 (#105)
Browse files Browse the repository at this point in the history
* chore(deps): update dependency typescript to v4.9.3

* chore(deps): update dependency typescript to v4.9.3

* attempt to fix

* .

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Minh Cung <[email protected]>
Co-authored-by: Minh Cung <[email protected]>
  • Loading branch information
3 people authored Dec 1, 2022
1 parent 1d93d41 commit 9053615
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"react-intl": "6.2.4",
"ts-jest": "29.0.3",
"tsup": "6.5.0",
"typescript": "4.8.4"
"typescript": "4.9.3"
},
"dependencies": {},
"peerDependencies": {
Expand Down
8 changes: 4 additions & 4 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ import { type IntlCache, type MessageDescriptor, createIntl, createIntlCache, In

export type PseudoLocale = 'en-XA' | 'en-XB'
export type PseudoFunc = (msg: string | MessageFormatElement[]) => MessageFormatElement[]
export type MessageIds = FormatjsIntl.Message extends {
ids: string
}
? FormatjsIntl.Message['ids']
export type MessageIds = FormatjsIntl.Message extends { ids: infer T }
? T extends string
? T
: string
: string

const ASCII = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3611,10 +3611,10 @@ type-fest@^0.21.3:
resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.21.3.tgz#d260a24b0198436e133fa26a524a6d65fa3b2e37"
integrity sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==

typescript@4.8.4:
version "4.8.4"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.8.4.tgz#c464abca159669597be5f96b8943500b238e60e6"
integrity sha512-QCh+85mCy+h0IGff8r5XWzOVSbBO+KfeYrMQh7NJ58QujwcE22u+NUSmUxqF+un70P9GXKxa2HCNiTTMJknyjQ==
typescript@4.9.3:
version "4.9.3"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.9.3.tgz#3aea307c1746b8c384435d8ac36b8a2e580d85db"
integrity sha512-CIfGzTelbKNEnLpLdGFgdyKhG23CKdKgQPOBc+OUNrkJ2vr+KSzsSV5kq5iWhEQbok+quxgGzrAtGWCyU7tHnA==

unbox-primitive@^1.0.2:
version "1.0.2"
Expand Down

0 comments on commit 9053615

Please sign in to comment.