index.d.ts 374 B

123456789101112
  1. import { RawSourceMap } from "source-map";
  2. declare module "concat-with-sourcemaps" {
  3. export default class Concat {
  4. constructor(generateSourceMap: boolean, fileName: string, separator?: string);
  5. add(filePath: string | null, content: string | Buffer, sourceMap?: string | RawSourceMap): void;
  6. readonly content: Buffer;
  7. readonly sourceMap: string | undefined;
  8. }
  9. }