Skip to content

Commit 179e460

Browse files
committed
bump ts to latest
1 parent d75419a commit 179e460

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@
9393
"storybook-react-i18next": "3.1.1",
9494
"ts-node": "^10.9.1",
9595
"tsconfig-paths-webpack-plugin": "4.1.0",
96-
"typescript": "^5.4.2",
96+
"typescript": "^5.5.2",
9797
"unified": "^10.0.0",
9898
"unist-util-visit": "^5.0.0"
9999
},

src/components/Codeblock.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -236,8 +236,8 @@ const Codeblock = ({
236236
className = codeLanguage || ""
237237
}
238238

239-
const matches = className?.match(/language-(?<lang>.*)/)
240-
const language = matches?.groups?.lang || ""
239+
const matches = className?.match(/language-(.*)/)
240+
const language = matches?.[1] || ""
241241

242242
const shouldShowCopyWidget = ["js", "json", "python", "solidity"].includes(
243243
language

src/pages/what-is-ethereum.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ const WhatIsEthereumPage = ({
226226
value: number,
227227
minSignificantDigits: number,
228228
maxSignificantDigits: number,
229-
style?: string,
229+
style?: Intl.NumberFormatOptions["style"],
230230
currency?: string
231231
) =>
232232
new Intl.NumberFormat(localeForNumberFormat, {

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13497,10 +13497,10 @@ typed-array-length@^1.0.4:
1349713497
for-each "^0.3.3"
1349813498
is-typed-array "^1.1.9"
1349913499

13500-
typescript@^5.4.2:
13501-
version "5.4.2"
13502-
resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.4.2.tgz#0ae9cebcfae970718474fe0da2c090cad6577372"
13503-
integrity sha512-+2/g0Fds1ERlP6JsakQQDXjZdZMM+rqpamFZJEKh4kwTIn3iDkgKtby0CeNd5ATNZ4Ry1ax15TMx0W2V+miizQ==
13500+
typescript@^5.5.2:
13501+
version "5.5.2"
13502+
resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.5.2.tgz#c26f023cb0054e657ce04f72583ea2d85f8d0507"
13503+
integrity sha512-NcRtPEOsPFFWjobJEtfihkLCZCXZt/os3zf8nTxjVH3RvTSxjrCamJpbExGvYOF+tFHc3pA65qpdwPbzjohhew==
1350413504

1350513505
ufo@^1.3.2:
1350613506
version "1.3.2"

0 commit comments

Comments
 (0)