From 1979b06a80d5f5efefbf94fa52e2407440bc6f2c Mon Sep 17 00:00:00 2001 From: odanado Date: Tue, 17 Sep 2024 14:46:46 +0900 Subject: [PATCH] fix: wider restriction for `target` option (#1118) --- src/options.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/options.ts b/src/options.ts index e239db07c..50f44d55c 100644 --- a/src/options.ts +++ b/src/options.ts @@ -86,7 +86,7 @@ export type EsTarget = | 'es2023' | 'esnext' -export type Target = BrowserTarget | BrowserTargetWithVersion | EsTarget +export type Target = BrowserTarget | BrowserTargetWithVersion | EsTarget | (string & {}) export type Entry = string[] | Record