We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c69b1b6 commit f19d889Copy full SHA for f19d889
plugin/index.ts
@@ -2,7 +2,7 @@ import { promises as fs } from "fs";
2
import path from "path";
3
4
import { OutputBundle, Plugin, NormalizedOutputOptions, OutputOptions } from "rollup";
5
-import opn from "open";
+import opn, { Options as OpenOptions } from "open";
6
7
import { ModuleLengths, ModuleTree, ModuleTreeLeaf, VisualizerData } from "../shared/types";
8
import { version } from "./version";
@@ -54,7 +54,7 @@ export interface PluginVisualizerOptions {
54
* @default false
55
*/
56
open?: boolean;
57
- openOptions?: opn.Options;
+ openOptions?: OpenOptions;
58
59
/**
60
* Which diagram to generate. 'sunburst' or 'treemap' can help find big dependencies or if they are repeated.
0 commit comments