mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
22 lines
718 B
TypeScript
22 lines
718 B
TypeScript
import bashGlob = require('bash-glob');
|
|
|
|
bashGlob('pattern', (err, files) => {});
|
|
bashGlob(['pattern'], (err, files) => {});
|
|
bashGlob(['pattern'], {}, (err, files) => {});
|
|
bashGlob(['pattern'], { cwd: 'cwd' }, (err, files) => { });
|
|
|
|
bashGlob.on('match', (match, cwd) => {});
|
|
bashGlob.on('files', (files, cwd) => {});
|
|
bashGlob.on('end', (files) => {});
|
|
|
|
bashGlob.each('pattern', (err, files) => {});
|
|
bashGlob.each(['pattern'], (err, files) => {});
|
|
bashGlob.each(['pattern'], {}, (err, files) => {});
|
|
bashGlob.each(['pattern'], { cwd: 'cwd' }, (err, files) => {});
|
|
|
|
// $ExpectType string[]
|
|
bashGlob.sync('pattern');
|
|
bashGlob.sync(['pattern']);
|
|
bashGlob.sync(['pattern'], {});
|
|
bashGlob.sync(['pattern'], { cwd: 'cwd' });
|