Skip to content

Commit 1720c36

Browse files
committed
Disable TypeScript type checking on generated files
1 parent 6f724ba commit 1720c36

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/app.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ function printNode(nodes: Node[]): string {
289289
ScriptKind.TS
290290
);
291291
const printer = createPrinter({ newLine: NewLineKind.LineFeed });
292-
let output = "// Code generated by sqlc. DO NOT EDIT.\n\n";
292+
let output = "// Code generated by sqlc. DO NOT EDIT.\n// @ts-nocheck\n\n";
293293
for (let node of nodes) {
294294
output += printer.printNode(EmitHint.Unspecified, node, resultFile);
295295
output += "\n\n";

0 commit comments

Comments
 (0)