From 70f54ed6c0b7e518974d27337e7f55b7e4224e38 Mon Sep 17 00:00:00 2001 From: Nicolas HENRY Date: Wed, 10 Apr 2019 06:26:18 +0200 Subject: [PATCH] fix mainFields typing (#207) --- index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.d.ts b/index.d.ts index 9c4d2fe..542d848 100644 --- a/index.d.ts +++ b/index.d.ts @@ -8,7 +8,7 @@ interface RollupNodeResolveOptions { * will be used * @default ['module', 'main'] */ - mainFields?: ['browser', 'esnext', 'module', 'main'], + mainFields?: string[], /** * @deprecated use "mainFields" instead * use "module" field for ES6 module if possible