From 90e5a5b8ad5e5cd23f8af24ef52957a67e793648 Mon Sep 17 00:00:00 2001 From: Ritesh Kumar Date: Sat, 11 Jan 2020 23:57:09 +0530 Subject: [PATCH] fixes --- pages/api/typescript-to-json-schema.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/pages/api/typescript-to-json-schema.ts b/pages/api/typescript-to-json-schema.ts index 757999f..e9ff18d 100644 --- a/pages/api/typescript-to-json-schema.ts +++ b/pages/api/typescript-to-json-schema.ts @@ -25,6 +25,7 @@ export default (req: NextApiRequest, res: NextApiResponse) => { const generator: SchemaGenerator = new SchemaGenerator( program, createParser(program, config), + // @ts-ignore createFormatter(config) ); const schema = generator.createSchema("*");