20231112.0.0 • Published 1 year ago
@types/google-closure-compiler v20231112.0.0
Installation
npm install --save @types/google-closure-compiler
Summary
This package contains type definitions for google-closure-compiler (https://github.com/chadkillingsworth/closure-compiler-npm).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/google-closure-compiler.
index.d.ts
// Type definitions for google-closure-compiler
// Project: https://github.com/chadkillingsworth/closure-compiler-npm
// Definitions by: Evan Martin <http://neugierig.org>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/// <reference types="node" />
// Note: the types seen in the JSDoc are wrong:
// https://github.com/ChadKillingsworth/closure-compiler-npm/issues/21
// Be careful to read the code when choosing types.
import * as child_process from 'child_process';
// The "json_streams" compiler flag lets the compiler accept/produce
// arrays of JSON objects in this shape for input/output.
interface JSONStreamFile {
path: string;
src: string;
srcmap?: string | undefined; // TODO(evan): pass through source maps.
}
interface Compiler {
javaPath: string;
logger: (...args: any[]) => void;
spawnOptions: { [key: string]: string };
run(callback?: (exitCode: number, stdout: string, stderr: string) => void):
child_process.ChildProcess;
getFullCommand(): string;
}
type CompileOption = string | boolean;
type CompileOptions = string[] | {[key: string]: (CompileOption|CompileOption[])};
export var compiler: {
new (opts: (CompileOptions | string[]), extraCommandArgs?: string[]): Compiler;
JAR_PATH: string;
COMPILER_PATH: string;
CONTRIB_PATH: string;
};
Additional Details
- Last updated: Thu, 08 Jul 2021 12:02:23 GMT
- Dependencies: @types/node
- Global values: none
Credits
These definitions were written by Evan Martin.
20231112.0.0
1 year ago
0.0.20
2 years ago
0.0.21
2 years ago
0.0.22
2 years ago
0.0.19
4 years ago
0.0.18
9 years ago
0.0.17
9 years ago
0.0.16
9 years ago
0.0.15
9 years ago
0.0.14
9 years ago
0.0.13-alpha
9 years ago
0.0.12-alpha
9 years ago
0.0.11-alpha
9 years ago
0.0.10-alpha
9 years ago
0.0.9-alpha
9 years ago
0.0.8-alpha
9 years ago
0.0.3-alpha
9 years ago
0.0.2-alpha
9 years ago