[cosmiconfig] correct filePath to filepath

It should be `filepath` as can be seen in the code:
https://github.com/davidtheclark/cosmiconfig/blob/3e68a30161fcb65296eed26a31cd7dc42bcbb791/src/createExplorer.js#L237

Also in the document: https://github.com/davidtheclark/cosmiconfig#result
This commit is contained in:
Jinwoo Lee
2018-06-11 13:12:24 -07:00
parent 01eb14e7a4
commit 2b29639123
+1 -1
View File
@@ -14,7 +14,7 @@ export interface Config {
export type CosmiconfigResult = {
config: Config;
filePath: string;
filepath: string;
isEmpty?: boolean;
} | null;