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

fix mainFields typing #207

Merged
merged 1 commit into from Apr 10, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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