mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-08-20 12:00:53 +08:00
fix minimatch/minimatch.d.ts
This commit is contained in:
@@ -9,5 +9,5 @@ var options = {
|
||||
var m = new mm.Minimatch(pattern, options);
|
||||
var r = m.makeRe();
|
||||
|
||||
var f = "test.ts";
|
||||
var f = ["test.ts"];
|
||||
mm.match(f, pattern, options);
|
||||
|
||||
Vendored
+1
-1
@@ -8,7 +8,7 @@ declare module "minimatch" {
|
||||
function M(target:string, pattern:string, options?:M.IOptions):void;
|
||||
|
||||
module M {
|
||||
function match(filename:string, pattern:string, options:IOptions):boolean;
|
||||
function match(filenames:string[], pattern:string, options:IOptions):string[];
|
||||
|
||||
var Minimatch:IMinimatchStatic;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user