Skip to content

Commit

Permalink
🏷️ Update types
Browse files Browse the repository at this point in the history
Signed-off-by: Ferdinand Thiessen <[email protected]>
  • Loading branch information
susnux committed Apr 21, 2024
1 parent a3c3716 commit 1c35bae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import compat from "core-js-compat"
import MagicString from "magic-string"
import { filterModules } from "./analyze"

type CoreJSOptions = Parameters<typeof compat.compat>[0]
type CoreJSOptions = NonNullable<Parameters<typeof compat.compat>[0]>

export type CoreJSPluginOptions = Partial<
Pick<CoreJSOptions, "targets" | "modules" | "exclude">
Expand Down

0 comments on commit 1c35bae

Please sign in to comment.