- exporting IOptions type

This commit is contained in:
Eugene Zolenko 2020-03-03 17:08:53 -07:00
parent 0caa1c427f
commit b7c7389dcd
5 changed files with 6 additions and 3 deletions

1
dist/index.d.ts vendored
View File

@ -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
dist/index.d.ts.map vendored
View File

@ -1 +1 @@
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["src/index.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AASpC,OAAO,EAAE,UAAU,EAAgG,MAAM,QAAQ,CAAC;AAGlI,QAAA,MAAM,UAAU,EAAE,UAAU,CAAC,OAAO,CAAC,QAAQ,CAAC,CAyW7C,CAAC;AAEF,eAAe,UAAU,CAAC"}
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["src/index.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AASpC,OAAO,EAAE,UAAU,EAAgG,MAAM,QAAQ,CAAC;AAGlI,OAAO,EAAE,QAAQ,EAAE,CAAA;AAEnB,QAAA,MAAM,UAAU,EAAE,UAAU,CAAC,OAAO,CAAC,QAAQ,CAAC,CAyW7C,CAAC;AAEF,eAAe,UAAU,CAAC"}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -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;