Skip to content

Commit

Permalink
- exporting IOptions type
Browse files Browse the repository at this point in the history
  • Loading branch information
ezolenko committed Mar 4, 2020
1 parent 0caa1c4 commit b7c7389
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions dist/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { IOptions } from "./ioptions";
import { Partial } from "./partial";
import { PluginImpl } from "rollup";
export { IOptions };
declare const typescript: PluginImpl<Partial<IOptions>>;
export default typescript;
//# sourceMappingURL=index.d.ts.map
2 changes: 1 addition & 1 deletion dist/index.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/rollup-plugin-typescript2.cjs.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/rollup-plugin-typescript2.es.js.map

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ import findCacheDir from "find-cache-dir";
import { PluginImpl, PluginContext, InputOptions, OutputOptions, TransformSourceDescription, MinimalPluginContext } from "rollup";
import { createFilter } from "./get-options-overrides";

export { IOptions }

const typescript: PluginImpl<Partial<IOptions>> = (options) =>
{
let watchMode = false;
Expand Down

0 comments on commit b7c7389

Please sign in to comment.