From 80870ff3a026c5bade6e28f0187a0d22fee4f31f Mon Sep 17 00:00:00 2001 From: toolifelesstocode Date: Mon, 3 Apr 2023 11:45:48 +0200 Subject: [PATCH] refactor(options)!: type format as Format This types Options.format as `Format[] | Format` instead of `Format[] | string` --- src/options.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/options.ts b/src/options.ts index fc3c2afa..b93bdd13 100644 --- a/src/options.ts +++ b/src/options.ts @@ -115,7 +115,7 @@ export type Options = { jsxFragment?: string outDir?: string outExtension?: OutExtensionFactory - format?: Format[] | string + format?: Format[] | Format globalName?: string env?: { [k: string]: string