Skip to content

Commit 1979b06

Browse files
authored
fix: wider restriction for target option (#1118)
1 parent a03db4c commit 1979b06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/options.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ export type EsTarget =
8686
| 'es2023'
8787
| 'esnext'
8888

89-
export type Target = BrowserTarget | BrowserTargetWithVersion | EsTarget
89+
export type Target = BrowserTarget | BrowserTargetWithVersion | EsTarget | (string & {})
9090

9191
export type Entry = string[] | Record<string, string>
9292

0 commit comments

Comments
 (0)