fix: wider restriction for target option (#1118)

This commit is contained in:
odanado 2024-09-17 14:46:46 +09:00 committed by GitHub
parent a03db4c1ab
commit 1979b06a80
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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<string, string>