Skip to content

Commit f19d889

Browse files
author
Denis Bardadym
committed
Update signature for open update
1 parent c69b1b6 commit f19d889

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plugin/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { promises as fs } from "fs";
22
import path from "path";
33

44
import { OutputBundle, Plugin, NormalizedOutputOptions, OutputOptions } from "rollup";
5-
import opn from "open";
5+
import opn, { Options as OpenOptions } from "open";
66

77
import { ModuleLengths, ModuleTree, ModuleTreeLeaf, VisualizerData } from "../shared/types";
88
import { version } from "./version";
@@ -54,7 +54,7 @@ export interface PluginVisualizerOptions {
5454
* @default false
5555
*/
5656
open?: boolean;
57-
openOptions?: opn.Options;
57+
openOptions?: OpenOptions;
5858

5959
/**
6060
* Which diagram to generate. 'sunburst' or 'treemap' can help find big dependencies or if they are repeated.

0 commit comments

Comments
 (0)