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:
Piotr Błażejewicz (Peter Blazejewicz) 2020-07-07 01:47:24 +02:00 committed by GitHub
parent cded52eba5
commit 3fd4848adc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 0 deletions

View File

@ -1,5 +1,7 @@
import glob = require("glob");
const Glob = glob.Glob;
// ExpectType glob
const globAlias = glob.glob;
(() => {
const pattern = "test/a/**/[cg]/../[cg]";

View File

@ -21,6 +21,7 @@ declare namespace G {
function hasMagic(pattern: string, options?: IOptions): boolean;
let glob: typeof G;
let Glob: IGlobStatic;
let GlobSync: IGlobSyncStatic;