UNPKG

@types/rollup__plugin-virtual

Version:
33 lines (25 loc) 992 B
# Installation > `npm install --save @types/rollup__plugin-virtual` # Summary This package contains type definitions for @rollup/plugin-virtual (https://github.com/rollup/plugins/tree/master/packages/virtual#readme). # Details Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/rollup__plugin-virtual. ## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/rollup__plugin-virtual/index.d.ts) ````ts import { Plugin } from "rollup"; declare namespace virtual { interface Options { [filePath: string]: string; } } /** * A Rollup plugin which loads virtual modules from memory. */ declare function virtual(options?: virtual.Options): Plugin; export = virtual; ```` ### Additional Details * Last updated: Fri, 01 Mar 2024 00:50:47 GMT * Dependencies: [rollup](https://npmjs.com/package/rollup) # Credits These definitions were written by [ed eustace](https://github.com/ahum).