mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
feat(glob): export glob api alias (#45195)
This is beign reported by Danger CI tests now as missing export surface for the module. No existing api was changed. Reference: https://git.io/Jf6lU Thanks!
This commit is contained in:
parent
cded52eba5
commit
3fd4848adc
@ -1,5 +1,7 @@
|
||||
import glob = require("glob");
|
||||
const Glob = glob.Glob;
|
||||
// ExpectType glob
|
||||
const globAlias = glob.glob;
|
||||
|
||||
(() => {
|
||||
const pattern = "test/a/**/[cg]/../[cg]";
|
||||
|
||||
1
types/glob/index.d.ts
vendored
1
types/glob/index.d.ts
vendored
@ -21,6 +21,7 @@ declare namespace G {
|
||||
|
||||
function hasMagic(pattern: string, options?: IOptions): boolean;
|
||||
|
||||
let glob: typeof G;
|
||||
let Glob: IGlobStatic;
|
||||
let GlobSync: IGlobSyncStatic;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user