Skip to content

Commit c62c689

Browse files
author
Cédric Belin
committed
Update the TypeScript settings
1 parent ef09aa2 commit c62c689

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

gulpfile.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const $ = execa({preferLocal: true, stdio: "inherit"});
99

1010
// Builds the project.
1111
export function build() {
12-
return $`tsc --project src/tsconfig.json`;
12+
return $`tsc --build src/tsconfig.json`;
1313
}
1414

1515
// Deletes all generated files.
@@ -20,7 +20,7 @@ export function clean() {
2020
// Performs the static analysis of source code.
2121
export async function lint() {
2222
await build();
23-
await $`tsc --project tsconfig.json`;
23+
await $`tsc --build tsconfig.json`;
2424
return $`eslint --config=etc/eslint.js gulpfile.js bin example src test`;
2525
}
2626

tsconfig.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55
"baseUrl": ".",
66
"checkJs": true,
77
"esModuleInterop": true,
8-
"isolatedModules": true,
98
"module": "NodeNext",
109
"moduleResolution": "NodeNext",
1110
"noEmit": true,
1211
"noImplicitOverride": true,
1312
"resolveJsonModule": true,
1413
"strict": true,
15-
"target": "ESNext"
14+
"target": "ESNext",
15+
"verbatimModuleSyntax": true
1616
}
1717
}

0 commit comments

Comments
 (0)