Skip to content

Commit

Permalink
fix(types): watch accepts single or array config (#3453)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeed committed Mar 21, 2020
1 parent f8bc018 commit 530e259
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rollup/types.d.ts
Expand Up @@ -664,7 +664,7 @@ export interface RollupWatcher
close(): void;
}

export function watch(configs: RollupWatchOptions[]): RollupWatcher;
export function watch(config: RollupWatchOptions | RollupWatchOptions[]): RollupWatcher;

interface AcornNode {
end: number;
Expand Down

0 comments on commit 530e259

Please sign in to comment.