mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-22 11:57:33 +08:00
12 lines
515 B
TypeScript
12 lines
515 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
|
|
|
|
declare module 'closure-compiler' {
|
|
type Callback = (err: Error, stdout: string, stderr: string) => any;
|
|
function compile(src: string, callback: Callback): void;
|
|
function compile(src: string, options: {[k: string]: string | string[]},
|
|
callback: Callback): void;
|
|
}
|