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

Commit

Permalink
fix mainFields typing (#207)
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolashenry authored and lukastaegert committed Apr 10, 2019
1 parent e222b64 commit 70f54ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.d.ts
Expand Up @@ -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
Expand Down

0 comments on commit 70f54ed

Please sign in to comment.