mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
Not much going on here since it imports all options from terser. Based it losely on the pre-existing gulp-uglify and webpack-terser-plugin typings as reference points Signed-off-by: Jeroen Claassens <support@favware.tech>
14 lines
434 B
TypeScript
14 lines
434 B
TypeScript
// Type definitions for gulp-terser 1.2
|
|
// Project: https://github.com/duan602728596/gulp-terser#readme
|
|
// Definitions by: Jeroen "Favna" Claassens <https://github.com/favna>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
// TypeScript Version: 3.0
|
|
|
|
/// <reference types="node"/>
|
|
|
|
import { MinifyOptions } from 'terser';
|
|
|
|
export = terser;
|
|
|
|
declare function terser(options?: MinifyOptions): NodeJS.ReadWriteStream;
|