bridgets
Version:
<p align="center"> <a href="https://bridgets.co"> <img src="http://bridgets.co/assets/logo-short.svg" height="48" /> <h1 align="center">BridgeTS</h1> </a> </p>
23 lines • 741 B
TypeScript
/**
* Minifies TypeScript declaration files.
* @remarks Use `createMinifier` to create a minifier.
*/
export interface Minifier {
/**
* Removes non-essential whitespace, newlines, and comments from the provided text.
* @param text - Text to minify.
* @param options - Options for minifying.
*/
minify(text: string, options?: MinifyOptions): string;
}
/** Options for minifying. */
export interface MinifyOptions {
/**
* Does not remove the JS docs when true.
* @default false
*/
keepJsDocs?: boolean;
}
/** Creates a minifier that should be stored and then used to minify one or more files. */
export declare function createMinifier(): Minifier;
//# sourceMappingURL=dtsMinifier.d.ts.map