File tree Expand file tree Collapse file tree
packages/quicktype-typescript-input/src Expand file tree Collapse file tree Original file line number Diff line number Diff 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.
2525export 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 = "" ;
You can’t perform that action at this time.
0 commit comments