From c317117b1485002753429814b5063384bd42845b Mon Sep 17 00:00:00 2001 From: AndrewLeedham Date: Thu, 17 Sep 2020 14:10:01 +0100 Subject: [PATCH] Export defaultOptions from parser --- src/parser.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/parser.ts b/src/parser.ts index b1bc54ef..9f656db2 100644 --- a/src/parser.ts +++ b/src/parser.ts @@ -101,7 +101,7 @@ export interface FileParser { ): ComponentDoc[]; } -const defaultOptions: ts.CompilerOptions = { +export const defaultOptions: ts.CompilerOptions = { jsx: ts.JsxEmit.React, module: ts.ModuleKind.CommonJS, target: ts.ScriptTarget.Latest