Skip to content
This repository was archived by the owner on Aug 4, 2021. It is now read-only.

Commit 70f54ed

Browse files
nicolashenrylukastaegert
authored andcommitted
fix mainFields typing (#207)
1 parent e222b64 commit 70f54ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ interface RollupNodeResolveOptions {
88
* will be used
99
* @default ['module', 'main']
1010
*/
11-
mainFields?: ['browser', 'esnext', 'module', 'main'],
11+
mainFields?: string[],
1212
/**
1313
* @deprecated use "mainFields" instead
1414
* use "module" field for ES6 module if possible

0 commit comments

Comments
 (0)