We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a3c3716 commit 1c35baeCopy full SHA for 1c35bae
src/plugin.ts
@@ -11,7 +11,7 @@ import compat from "core-js-compat"
11
import MagicString from "magic-string"
12
import { filterModules } from "./analyze"
13
14
-type CoreJSOptions = Parameters<typeof compat.compat>[0]
+type CoreJSOptions = NonNullable<Parameters<typeof compat.compat>[0]>
15
16
export type CoreJSPluginOptions = Partial<
17
Pick<CoreJSOptions, "targets" | "modules" | "exclude">
0 commit comments