Sha256: d647cb2ffcd1e9cba22c9adaf3a24a1fbebac552c2e65d39a01c4a225e63e451
Contents?: true
Size: 797 Bytes
Versions: 5
Compression:
Stored size: 797 Bytes
Contents
/// <reference types="acorn" /> import { IParse } from 'acorn'; import { RollupError } from './error'; import Graph from '../Graph'; import { RawSourceMap } from 'source-map'; import { Plugin, RollupWarning, SourceDescription } from '../rollup/index'; import Program from '../ast/nodes/Program'; export interface TransformContext { parse: IParse; warn(warning: RollupWarning, pos?: { line: number; column: number; }): void; error(err: RollupError, pos?: { line: number; column: number; }): void; } export default function transform(graph: Graph, source: SourceDescription, id: string, plugins: Plugin[]): Promise<{ code: string; originalCode: string; originalSourcemap: any; ast: Program; sourcemapChain: RawSourceMap[]; }>;
Version data entries
5 entries across 5 versions & 2 rubygems