diff --git a/src/plugin.ts b/src/plugin.ts index aaa35b6..bd2dfad 100644 --- a/src/plugin.ts +++ b/src/plugin.ts @@ -11,7 +11,7 @@ import compat from "core-js-compat" import MagicString from "magic-string" import { filterModules } from "./analyze" -type CoreJSOptions = Parameters[0] +type CoreJSOptions = NonNullable[0]> export type CoreJSPluginOptions = Partial< Pick