DefinitelyTyped/types/rollup-plugin-buble/index.d.ts
Nathan Shively-Sanders 708214ef04 Change 'export default' to 'export =', part 2 (#33823)
* Change 'export default' to 'export ='

For packages that don't actually export a 'default' property.

* 7 more packages
2019-03-12 16:36:10 -07:00

22 lines
772 B
TypeScript

// Type definitions for rollup-plugin-buble 0.19
// Project: https://github.com/rollup/rollup-plugin-buble#readme
// Definitions by: Hugo Alliaume <https://github.com/Kocal>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.3
/// <reference types="node" />
import { Plugin } from 'rollup';
import { TransformOptions } from 'buble';
declare namespace buble {
interface Options extends TransformOptions {
// Every files will be parsed by default, but you can specify which files to include or exclude
include?: Array<string | RegExp> | string | RegExp | null;
exclude?: Array<string | RegExp> | string | RegExp | null;
}
}
export = buble;
declare function buble(options?: buble.Options): Plugin;