From a5e12cea47ca36adcc84d351f9c4fcb82a46ebb2 Mon Sep 17 00:00:00 2001 From: JounQin Date: Wed, 19 Aug 2020 13:19:04 +0800 Subject: [PATCH] fix(types): `options` is actually optional --- types/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/index.d.ts b/types/index.d.ts index 77130198..f6878d25 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -46,4 +46,4 @@ export type PostCSSPluginConf = { exclude?: Parameters[1]; }; -export default function (options: Readonly): Plugin +export default function (options?: Readonly): Plugin