Sitelet https://github.com/codingcommons/typesafe-i18n/commit/7b23418577395e02df753b9b3ada0db313ab0857
Skip to content

Commit 7b23418

Browse files
committed
chore: upgrade to TypeScript 5
1 parent bb39c89 commit 7b23418

39 files changed

Lines changed: 173 additions & 171 deletions

‎.vscode/settings.json‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,5 @@
99
"*.mts": "${capture}.test.ts, ${capture}.test.types.ts"
1010
},
1111
"explorer.fileNesting.enabled": true,
12+
"typescript.tsdk": "node_modules/typescript/lib",
1213
}

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@
157157
"size-limit": "^8.2.4",
158158
"tiny-glob": "^0.2.9",
159159
"tsx": "^3.12.5",
160-
"typescript": "^4.9.5"
160+
"typescript": "^5.0.2"
161161
},
162162
"peerDependencies": {
163163
"typescript": ">=3.5.1"

‎packages/adapter-angular/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"devDependencies": {
99
"esbuild": "^0.15.18",
1010
"tsx": "^3.12.5",
11-
"typescript": "^4.9.5"
11+
"typescript": "^5.0.2"
1212
},
1313
"type": "module"
1414
}

‎packages/adapter-react/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"esbuild": "^0.15.18",
1111
"react": "^18.2.0",
1212
"tsx": "^3.12.5",
13-
"typescript": "^4.9.5"
13+
"typescript": "^5.0.2"
1414
},
1515
"type": "module"
1616
}

‎packages/adapter-solid/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"esbuild": "^0.15.18",
1010
"solid-js": "^1.6.15",
1111
"tsx": "^3.12.5",
12-
"typescript": "^4.9.5"
12+
"typescript": "^5.0.2"
1313
},
1414
"type": "module"
1515
}

‎packages/adapter-solid/src/index.mts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Accessor, batch, Component, createComponent, createContext, createSignal, JSX, useContext } from 'solid-js'
1+
import { batch, createComponent, createContext, createSignal, useContext, type Accessor, type Component, type JSX } from 'solid-js'
22
import { getFallbackProxy } from '../../runtime/src/core-utils.mjs'
33
import type { BaseFormatters, BaseTranslation, Locale, TranslationFunctions } from '../../runtime/src/core.mjs'
44
import { i18nObject } from '../../runtime/src/util.object.mjs'

‎packages/adapter-svelte/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"esbuild": "^0.15.18",
1010
"svelte": "^3.57.0",
1111
"tsx": "^3.12.5",
12-
"typescript": "^4.9.5"
12+
"typescript": "^5.0.2"
1313
},
1414
"type": "module"
1515
}

‎packages/adapter-vue/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"@vue/runtime-dom": "^3.2.47",
1010
"esbuild": "^0.15.18",
1111
"tsx": "^3.12.5",
12-
"typescript": "^4.9.5",
12+
"typescript": "^5.0.2",
1313
"vue": "3.2.39"
1414
},
1515
"type": "module"

‎packages/browser/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"devDependencies": {
99
"esbuild": "^0.15.18",
1010
"tsx": "^3.12.5",
11-
"typescript": "^4.9.5"
11+
"typescript": "^5.0.2"
1212
},
1313
"type": "module"
1414
}

‎packages/cli/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"tsx": "^3.12.5",
1818
"type-fest": "^2.19.0",
1919
"typesafe-utils": "^1.16.2",
20-
"typescript": "^4.9.5"
20+
"typescript": "^5.0.2"
2121
},
2222
"type": "module"
2323
}

0 commit comments

Comments
 (0)