mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-19 16:49:45 +08:00
[@types/find-root] Fix typo
This commit is contained in:
2
types/find-root/index.d.ts
vendored
2
types/find-root/index.d.ts
vendored
@@ -10,7 +10,7 @@ type FindRootCheckFn = (dir: string) => boolean;
|
||||
/**
|
||||
* Returns the path for the nearest directory to startingPath containing a package.json file. If a check function is
|
||||
* provided, then this will return the nearest directory for which the function returns true.
|
||||
* @param startingPath The path to start searching form, e.g. __dirname
|
||||
* @param startingPath The path to start searching from, e.g. __dirname
|
||||
* @param check The check predicate
|
||||
* @throws {Error} if package.json cannot be found or if the function never returns true
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user