Skip to content
This repository was archived by the owner on Sep 27, 2023. It is now read-only.

Commit 0ff4cda

Browse files
Disable ts-checks on output files
This would disable ts checking on the whole file for all output files to enable usage of `"importsNotUsedAsValues": "error"`. If needed I could spend some more time to make the change only target the imports, but since both tslint and eslint are disabled for the whole file I figured this could be an acceptable solution. Fixes #177
1 parent b9b38ac commit 0ff4cda

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/formatGeneratedModule.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ export const formatterFactory = (
2424
}
2525
return `/* tslint:disable */
2626
/* eslint-disable */
27+
// @ts-nocheck
2728
${hash ? `/* ${hash} */\n` : ""}
2829
${documentTypeImport}
2930
${typeText || ""}

0 commit comments

Comments
 (0)