Update 'glob'

This commit is contained in:
Ryan Cavanaugh
2016-04-27 10:26:07 -07:00
parent cb3a4dbc26
commit 625e8310e7
5 changed files with 6 additions and 18 deletions

View File

@@ -3,10 +3,7 @@
// Definitions by: vvakame <https://github.com/vvakame/>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/// <reference path="../glob/glob.d.ts" />
import * as _glob from "glob";
import * as glob from "../glob";
interface Option {
filter?: string | ((filePath: string) => boolean);
@@ -14,7 +11,7 @@ interface Option {
}
declare namespace expand {
var glob: typeof _glob;
var glob: typeof glob;
var VERSION: string;
}

View File

@@ -1,6 +1,4 @@
/// <reference path="glob-stream.d.ts" />
import gs = require('glob-stream');
import gs = require('./');
var read: NodeJS.ReadableStream;

View File

@@ -4,10 +4,8 @@
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/// <reference path="../node/node.d.ts" />
/// <reference path="../glob/glob.d.ts" />
import glob = require('glob');
import glob = require('../glob');
export interface Options extends glob.IOptions {
cwd?: string;

View File

@@ -1,6 +1,4 @@
/// <reference path="./glob.d.ts" />
import glob = require("glob");
import glob = require("./");
var Glob = glob.Glob;
(()=> {

View File

@@ -4,13 +4,10 @@
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/// <reference path="../node/node.d.ts" />
/// <reference path="../minimatch/minimatch.d.ts" />
import events = require("events");
import fs = require('fs');
import minimatch = require("minimatch");
import minimatch = require("../minimatch");
declare function G(pattern: string, cb: (err: Error, matches: string[]) => void): void;
declare function G(pattern: string, options: G.IOptions, cb: (err: Error, matches: string[]) => void): void;