mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Responding to feedback
Thanks @vsiao!
This commit is contained in:
Vendored
+4
-1
@@ -6,6 +6,9 @@
|
||||
/// <reference path="../node/node.d.ts"/>
|
||||
|
||||
declare module "gulp-if" {
|
||||
function gulpIf(condition: boolean, stream: NodeJS.ReadWriteStream, elseStream?: NodeJS.ReadWriteStream): NodeJS.ReadWriteStream;
|
||||
function gulpIf(
|
||||
condition: boolean,
|
||||
stream: NodeJS.ReadWriteStream,
|
||||
elseStream?: NodeJS.ReadWriteStream): NodeJS.ReadWriteStream;
|
||||
export = gulpIf;
|
||||
}
|
||||
Vendored
+1
-1
@@ -10,7 +10,7 @@ declare module "gulp-istanbul" {
|
||||
|
||||
module GulpIstanbul {
|
||||
export function hookRequire(): NodeJS.ReadWriteStream;
|
||||
export function summarizeCoverage(opts?: {coverageVariable: string}): Coverage;
|
||||
export function summarizeCoverage(opts?: {coverageVariable?: string}): Coverage;
|
||||
export function writeReports(opts?: ReportOptions): NodeJS.ReadWriteStream;
|
||||
|
||||
interface Options {
|
||||
|
||||
Vendored
+8
-4
@@ -6,15 +6,19 @@
|
||||
/// <reference path="../node/node.d.ts"/>
|
||||
|
||||
declare module "gulp-rename" {
|
||||
interface Options {
|
||||
interface ParsedPath {
|
||||
dirname?: string;
|
||||
basename?: string;
|
||||
prefix?: string;
|
||||
suffix?: string;
|
||||
extname?: string;
|
||||
}
|
||||
|
||||
interface Options extends ParsedPath {
|
||||
prefix?: string;
|
||||
suffix?: string;
|
||||
}
|
||||
|
||||
function rename(name: string): NodeJS.ReadWriteStream;
|
||||
function rename(callback: (path: Options) => any): NodeJS.ReadWriteStream;
|
||||
function rename(callback: (path: ParsedPath) => any): NodeJS.ReadWriteStream;
|
||||
function rename(opts: Options): NodeJS.ReadWriteStream;
|
||||
export = rename;
|
||||
}
|
||||
Vendored
+1
-1
@@ -7,7 +7,7 @@
|
||||
|
||||
declare module "gulp-replace" {
|
||||
interface Options {
|
||||
skipBinary: boolean;
|
||||
skipBinary?: boolean;
|
||||
}
|
||||
|
||||
function replace(pattern: string, replacement: string, opts?: Options): NodeJS.ReadWriteStream;
|
||||
|
||||
Vendored
+1
-1
@@ -13,7 +13,7 @@ declare module "gulp-tslint" {
|
||||
|
||||
module GulpTsLint {
|
||||
interface Options {
|
||||
configuration?: Object;
|
||||
configuration?: {};
|
||||
rulesDirectory?: string;
|
||||
emitError?: boolean;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user