Skip to content

Commit a24e27e

Browse files
committed
Remove stray any cast
1 parent 45b6f26 commit a24e27e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/generate/src/cli.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ program
367367
await ensureTarget(options, projectRoot);
368368

369369
// special handling: --file present but no value => default to <schemaDir>/queries
370-
const fileWasPresentWithoutValue = (opts as any).file === true;
370+
const fileWasPresentWithoutValue = opts.file === true;
371371
if (fileWasPresentWithoutValue) {
372372
options.file = path.join(schemaDir, "queries");
373373
}

0 commit comments

Comments
 (0)