Skip to content

Commit 0765671

Browse files
add ts expect error
1 parent 90a0f8f commit 0765671

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

  • packages/quicktype-typescript-input/src

packages/quicktype-typescript-input/src/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const compilerOptions: ts.CompilerOptions = {
2020
rootDir: "."
2121
};
2222

23-
// FIXME: We're stringifying and then parsing this schema again. Just pass around
23+
// FIXME: We're stringifying and then parsing this schema again. Just pass around
2424
// the schema directly.
2525
export function schemaForTypeScriptSources(sourceFileNames: string[]): JSONSchemaSourceData {
2626
const program = ts.createProgram(sourceFileNames, compilerOptions);
@@ -32,6 +32,7 @@ export function schemaForTypeScriptSources(sourceFileNames: string[]): JSONSchem
3232
});
3333
}
3434

35+
// @ts-expect-error type mismatch between typescript version of this package and @mark.probst/typescript-json-schema
3536
const schema = generateSchema(program, "*", settings);
3637
const uris: string[] = [];
3738
let topLevelName = "";

0 commit comments

Comments
 (0)