forked from DefinitelyTyped/DefinitelyTyped
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgulp-size.d.ts
More file actions
25 lines (20 loc) · 668 Bytes
/
gulp-size.d.ts
File metadata and controls
25 lines (20 loc) · 668 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// Type definitions for gulp-size v1.2.3
// Project: https://github.com/sindresorhus/gulp-size
// Definitions by: Tanguy Krotoff <https://github.com/tkrotoff>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/// <reference path="../node/node.d.ts" />
declare module 'gulp-size' {
namespace size {
interface Options {
showFiles?: boolean;
gzip?: boolean;
title?: string;
}
interface SizeStream extends NodeJS.ReadWriteStream {
size: number;
prettySize: string;
}
}
function size(options?: size.Options): size.SizeStream;
export = size;
}