From 1c35baefb3ce4c090d12b866b8e7fd8cb96dcd92 Mon Sep 17 00:00:00 2001 From: Ferdinand Thiessen Date: Sun, 21 Apr 2024 17:59:18 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=8F=B7=EF=B8=8F=20Update=20types?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ferdinand Thiessen --- src/plugin.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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