mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
18 lines
296 B
TypeScript
18 lines
296 B
TypeScript
import findup = require('findup-sync');
|
|
|
|
let str: string;
|
|
|
|
str = findup('foo');
|
|
str = findup(['foo', 'bar']);
|
|
|
|
str = findup('foo', {
|
|
matchBase: true,
|
|
});
|
|
|
|
str = findup('foo', {
|
|
cwd: 'c:\\',
|
|
});
|
|
|
|
str = findup('{a,b}*.txt');
|
|
str = findup('{a,b}*.txt', { cwd: '/some/path', nocase: true });
|