Skip to content

Commit 06ccd74

Browse files
committed
Revert "Update tsconfig to reference the node18 base"
This reverts commit 58133a8.
1 parent 58133a8 commit 06ccd74

File tree

2 files changed

+19
-3
lines changed

2 files changed

+19
-3
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.default,
106+
module: v,
107107
filePath: path,
108108
};
109109
}

tsconfig.json

+18-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,24 @@
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,
421
"outDir": "dist",
522
"rootDir": "src"
6-
},
7-
"extends": "@tsconfig/node18/tsconfig.json"
23+
}
824
}

0 commit comments

Comments
 (0)