mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-03-29 08:58:23 +08:00
Update 'glob'
This commit is contained in:
7
glob-expand/glob-expand.d.ts
vendored
7
glob-expand/glob-expand.d.ts
vendored
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
/// <reference path="glob-stream.d.ts" />
|
||||
|
||||
import gs = require('glob-stream');
|
||||
import gs = require('./');
|
||||
|
||||
var read: NodeJS.ReadableStream;
|
||||
|
||||
|
||||
@@ -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;
|
||||
@@ -1,6 +1,4 @@
|
||||
/// <reference path="./glob.d.ts" />
|
||||
|
||||
import glob = require("glob");
|
||||
import glob = require("./");
|
||||
var Glob = glob.Glob;
|
||||
|
||||
(()=> {
|
||||
|
||||
5
glob/glob.d.ts → glob/index.d.ts
vendored
5
glob/glob.d.ts → glob/index.d.ts
vendored
@@ -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;
|
||||
Reference in New Issue
Block a user