npm install --save @types/closure-compiler
This package contains type definitions for closure-compiler (https://github.com/tim-smart/node-closure/).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/closure-compiler.
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;
- Last updated: Tue, 01 Apr 2025 00:47:14 GMT
- Dependencies: none
These definitions were written by Bradford Smith, Ben Lickly, and James Wright.