Skip to content

Commit 677569a

Browse files
committed
fix(localgov-ims): add @types/node devDependency
Round 3 for deploy-blueprints. After PR #189 set tsconfig types to ["node"], tsc now fails with "Cannot find type definition file for 'node'" because the package wasn't listed as a devDependency. ts6 dropped implicit @types/* resolution, so we need this explicitly. Local `npm install && tsc --noEmit` exits 0 with @types/node@22.x installed.
1 parent 810b257 commit 677569a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

cloudformation/scenarios/localgov-ims/cdk/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
"source-map-support": "^0.5.21"
1313
},
1414
"devDependencies": {
15+
"@types/node": "^22.0.0",
1516
"aws-cdk": "^2.1110.0",
1617
"typescript": "~5.9.3"
1718
}

0 commit comments

Comments
 (0)