DefinitelyTyped/types/find-root/find-root-tests.ts
Art c26dd909a2 add: find root types (#22896)
* find root types

* add header

* merge function signature
2018-01-17 10:54:21 -08:00

5 lines
137 B
TypeScript

import findRoot = require('find-root');
const a: string = findRoot('');
const b: string = findRoot('', (dir: string): boolean => true);