Skip to content

Commit c41f2d8

Browse files
author
Vitor
committed
fix: mudando resolução de módulo para evitar erro TS2835
1 parent 423a612 commit c41f2d8

2 files changed

Lines changed: 9 additions & 4 deletions

File tree

db/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:18-alpine
1+
FROM node:22-alpine
22
WORKDIR /app
33
COPY package*.json ./
44
RUN npm ci

websocket/tsconfig.json

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,19 @@
11
{
22
"compilerOptions": {
33
"target": "ES2022",
4-
"module": "NodeNext",
5-
"moduleResolution": "NodeNext",
4+
"module": "ESNext",
5+
"moduleResolution": "node",
66
"outDir": "./dist",
77
"rootDir": "./src",
88
"strict": true,
99
"esModuleInterop": true,
1010
"skipLibCheck": true,
1111
"allowSyntheticDefaultImports": true
1212
},
13-
"include": ["src/**/*"]
13+
"include": ["src/**/*"],
14+
"exclude": [
15+
"src/__tests__/**/*",
16+
"**/*.test.ts",
17+
"**/*.spec.ts"
18+
]
1419
}

0 commit comments

Comments
 (0)