diff --git a/packages/ruleset-bundler/src/index.ts b/packages/ruleset-bundler/src/index.ts index 0348aee55..3a9fb6c42 100644 --- a/packages/ruleset-bundler/src/index.ts +++ b/packages/ruleset-bundler/src/index.ts @@ -1,4 +1,4 @@ -import { rollup, Plugin, RenderedChunk } from 'rollup'; +import { rollup, Plugin, OutputChunk } from 'rollup'; import { isURL } from '@stoplight/path'; import { isPackageImport } from './utils/isPackageImport'; import { dedupeRollupPlugins } from './utils/dedupeRollupPlugins'; @@ -20,11 +20,11 @@ export async function bundleRuleset( export async function bundleRuleset( input: string, opts: Omit & { fullOutput: true }, -): Promise; +): Promise; export async function bundleRuleset( input: string, { target = 'browser', plugins, format, treeshake = false, fullOutput = false }: BundleOptions, -): Promise { +): Promise { const bundle = await rollup({ input, plugins: dedupeRollupPlugins(plugins),