mirror of
https://github.com/ezolenko/rollup-plugin-typescript2.git
synced 2025-12-08 19:06:16 +00:00
15 lines
664 B
TypeScript
15 lines
664 B
TypeScript
import { IRollupContext } from "./context";
|
|
import { IRollupCode } from "./tscache";
|
|
import { IRollupOptions } from "./irollup-options";
|
|
import { IOptions } from "./ioptions";
|
|
import { Partial } from "./partial";
|
|
export default function typescript(options?: Partial<IOptions>): {
|
|
name: string;
|
|
options(config: IRollupOptions): void;
|
|
resolveId(importee: string, importer: string): string | null;
|
|
load(id: string): string | undefined;
|
|
transform(this: IRollupContext, code: string, id: string): IRollupCode | undefined;
|
|
ongenerate(): void;
|
|
onwrite({ dest, file }: IRollupOptions): void;
|
|
};
|
|
//# sourceMappingURL=index.d.ts.map
|