Files
DefinitelyTyped/closure-compiler/index.d.ts
Ryan Cavanaugh 5859f63fd3 Keep fixing...
2016-05-05 12:38:52 -07:00

11 lines
480 B
TypeScript

// Type definitions for closure-compiler
// Project: https://github.com/tim-smart/node-closure/
// Definitions by: Martin Probst <https://github.com/mprobst>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
export type Callback = (err: Error, stdout: string, stderr: string) => any;
export function compile(src: string, callback: Callback): void;
export function compile(src: string, options: { [k: string]: string | string[] },
callback: Callback): void;