Skip to content

Commit 0feb777

Browse files
committed
Upgrade TypeScript to v6
1 parent c5e9ae2 commit 0feb777

6 files changed

Lines changed: 11 additions & 12 deletions

File tree

DEPENDENCY_NOTES.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ The following notes about the app's dependencies should be revisited and resolve
33
As of 2026-07-27:
44

55
- `@types/node`: Consider updating to `26.x` in the future, but for now `24.x` still has plent of time in LTS.
6-
- `typescript`: `7.x` removes options deprecated in TypeScript 6 and uses a new native compiler. Upgrade to TypeScript 6 first and then consider updating to v7 if/when other packages (like `eslint`) support it.
6+
- `typescript`: `7.x` uses a new native compiler without a native API. Libraries like `ts-node` and `typescript-eslint` do not yet support it.
77
- `tslog` (test-server only): `5.x` is ESM-only and replaces v4's flat logger settings such as `hideLogPositionForProduction` and `prettyLogTemplate`. Updating will require some migration.

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@
8989
"sinon": "^22.1.0",
9090
"test-console": "^2.0.0",
9191
"ts-node": "^10.9.2",
92-
"typescript": "^5.9.3",
92+
"typescript": "^6.0.3",
9393
"xml-js": "^1.6.11"
9494
},
9595
"dependencies": {

test-server/package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test-server/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"prettier": "^3.9.6",
4040
"ts-node": "^10.9.2",
4141
"tsx": "^4.23.1",
42-
"typescript": "^5.9.3",
42+
"typescript": "^6.0.3",
4343
"vitest": "^4.1.10"
4444
}
4545
}

test-server/src/convert/convert.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,6 @@ function toFhirQuantity(val: CqlQuantity | number, isIntegerOrLong = false): Fhi
328328
}
329329
}
330330
if (isIntegerOrLong) {
331-
// @ts-expect-error R4 Quantity type should allow _value for setting id and extension on decimal value
332331
fq._value = {
333332
extension: [
334333
{ url: 'http://hl7.org/fhir/StructureDefinition/quantity-precision', valueInteger: 0 }

0 commit comments

Comments
 (0)