File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -3,10 +3,17 @@ import fs from 'node:fs/promises'
33import test from 'ava'
44import { testProp , fc } from '@fast-check/ava'
55import { Arbitrary } from 'fast-check'
6- import { type Plugin , type PluginContext } from 'rollup'
6+ import { type NormalizedInputOptions , type CustomPluginOptions , type ResolveIdResult } from 'rollup'
77import externals , { type ExternalsOptions } from '../src/index'
88
9- type TestedPlugin = Plugin & PluginContext
9+ type TestedPlugin = {
10+ buildStart : ( options : NormalizedInputOptions ) => void | Promise < void >
11+ resolveId : ( source : string , importer ?: string , options ?: {
12+ assertions : Record < string , string > ;
13+ custom ?: CustomPluginOptions ;
14+ isEntry : boolean ;
15+ } ) => ResolveIdResult | Promise < ResolveIdResult >
16+ }
1017
1118// Returns an arbitrary for generating externals options objects
1219const externalsOptionsArbitrary = ( ) : Arbitrary < ExternalsOptions > => fc . record ( {
You can’t perform that action at this time.
0 commit comments