Files
DefinitelyTyped/fill-pdf/fill-pdf.d.ts
2016-08-30 17:07:22 -05:00

17 lines
557 B
TypeScript

// Type definitions for fill-pdf v0.5.0
// Project: https://github.com/dommmel/fill-pdf
// Definitions by: Seth Westphal <https://github.com/westy92>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/// <reference path="../node/node.d.ts" />
declare module 'fill-pdf' {
export interface FormData {
[name: string]: string;
}
export function generatePdf(data: FormData, templatePath: string, extendArgs: string[], callback?: (err: Error, output: Buffer) => void): void;
export function generateFdf(data: FormData): Buffer;
}