Skip to content

Commit acf9637

Browse files
authored
chore(oxfmt): Use strict: true for TS code (#15891)
Just enhancement, will merge after CI.
1 parent 7c46a9e commit acf9637

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

apps/oxfmt/test/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ async function runCli(cwd: string, args: string[]): Promise<RunResult> {
7979
return {
8080
stdout: result.stdout,
8181
stderr: result.stderr,
82-
exitCode: result.exitCode,
82+
exitCode: result.exitCode ?? -1,
8383
};
8484
}
8585

apps/oxfmt/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"moduleResolution": "Bundler",
55
"noEmit": true,
66
"target": "ESNext",
7-
"noImplicitAny": true,
7+
"strict": true,
88
"skipLibCheck": true
99
},
1010
"include": [

0 commit comments

Comments
 (0)