Skip to content

Commit 1c35bae

Browse files
committed
🏷️ Update types
Signed-off-by: Ferdinand Thiessen <[email protected]>
1 parent a3c3716 commit 1c35bae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/plugin.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import compat from "core-js-compat"
1111
import MagicString from "magic-string"
1212
import { filterModules } from "./analyze"
1313

14-
type CoreJSOptions = Parameters<typeof compat.compat>[0]
14+
type CoreJSOptions = NonNullable<Parameters<typeof compat.compat>[0]>
1515

1616
export type CoreJSPluginOptions = Partial<
1717
Pick<CoreJSOptions, "targets" | "modules" | "exclude">

0 commit comments

Comments
 (0)