mirror of
https://github.com/Sea-Haven-Industries/shoc-backend.git
synced 2026-10-07 16:19:07 +00:00
fix(cdk): migrate TypeScript config for TS 7 moduleResolution
Use Node16 module/moduleResolution and explicit .js relative import so npm run synth succeeds under TypeScript 7.0.2.
This commit is contained in:
parent
76f3dbe629
commit
8c3742d345
2 changed files with 3 additions and 3 deletions
|
|
@ -1,5 +1,5 @@
|
|||
import * as cdk from 'aws-cdk-lib';
|
||||
import { DeployDevStack } from './deploy-dev-stack';
|
||||
import { DeployDevStack } from './deploy-dev-stack.js';
|
||||
|
||||
const app = new cdk.App();
|
||||
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
{
|
||||
"compilerOptions": {
|
||||
"target": "ES2022",
|
||||
"module": "commonjs",
|
||||
"module": "Node16",
|
||||
"lib": ["ES2022"],
|
||||
"moduleResolution": "node",
|
||||
"moduleResolution": "Node16",
|
||||
"strict": true,
|
||||
"noImplicitAny": true,
|
||||
"strictNullChecks": true,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue