Skip to content

Commit 58133a8

Browse files
committed
Update tsconfig to reference the node18 base
1 parent 78fdb56 commit 58133a8

File tree

2 files changed

+3
-19
lines changed

2 files changed

+3
-19
lines changed

src/service.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ async function resolvePrettier(
103103
return import(path).then((v) => {
104104
if (v !== undefined) {
105105
return {
106-
module: v,
106+
module: v.default,
107107
filePath: path,
108108
};
109109
}

tsconfig.json

+2-18
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,8 @@
11
{
22
"compilerOptions": {
33
"incremental": true,
4-
"target": "es2018",
5-
"module": "commonjs",
6-
"lib": [],
7-
"strict": true,
8-
"noImplicitAny": true,
9-
"strictNullChecks": true,
10-
"strictFunctionTypes": true,
11-
"strictBindCallApply": true,
12-
"strictPropertyInitialization": true,
13-
"noImplicitThis": true,
14-
"alwaysStrict": true,
15-
"noUnusedLocals": true,
16-
"noUnusedParameters": true,
17-
"noImplicitReturns": true,
18-
"esModuleInterop": true,
19-
"skipLibCheck": true,
20-
"forceConsistentCasingInFileNames": true,
214
"outDir": "dist",
225
"rootDir": "src"
23-
}
6+
},
7+
"extends": "@tsconfig/node18/tsconfig.json"
248
}

0 commit comments

Comments
 (0)