DefinitelyTyped/types/find-config/find-config-tests.ts
2020-03-26 22:34:53 -07:00

7 lines
262 B
TypeScript

import findConfig = require('find-config');
findConfig(); // $ExpectType string | null
findConfig.obj(); // $ExpectType { cwd: string; dir: string; path: string; } | null
findConfig.read(); // $ExpectType string | null
findConfig.require(); // $ExpectType any