Skip to content

Commit

Permalink
Improve type of RollupOutput.output
Browse files Browse the repository at this point in the history
  • Loading branch information
MattiasBuelens committed Feb 4, 2019
1 parent 38f3ca6 commit 6476d36
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/rollup/types.d.ts
Expand Up @@ -372,9 +372,7 @@ export interface RollupCache {
}

export interface RollupOutput {
// when supported in TypeScript (https://github.com/Microsoft/TypeScript/pull/24897):
// output: [OutputChunk, ...(OutputChunk | OutputAsset)[]];
output: (OutputChunk | OutputAsset)[];
output: [OutputChunk, ...(OutputChunk | OutputAsset)[]];
}

export interface RollupBuild {
Expand Down

0 comments on commit 6476d36

Please sign in to comment.