diff --git a/types/rollup/index.d.ts b/types/rollup/index.d.ts index 0f7a3e2163..fcad3a9064 100644 --- a/types/rollup/index.d.ts +++ b/types/rollup/index.d.ts @@ -86,7 +86,7 @@ export interface Bundle { export interface Options { /** The bundle's entry point (e.g. your `main.js` or `app.js` or `index.js`) */ - entry: string | string[] + input: string /** A previous bundle. Use it to speed up subsequent bundles :) */ cache?: Bundle /** diff --git a/types/rollup/rollup-tests.ts b/types/rollup/rollup-tests.ts index b600fe25ee..43ef6aa2bf 100644 --- a/types/rollup/rollup-tests.ts +++ b/types/rollup/rollup-tests.ts @@ -4,7 +4,7 @@ let cache: Bundle | undefined async function main() { const bundle = await rollup({ - entry: 'main.js', + input: 'main.js', cache, })