From 2b29639123bcc4ee87a28cafd147a84d2dd1bab0 Mon Sep 17 00:00:00 2001 From: Jinwoo Lee Date: Mon, 11 Jun 2018 13:10:35 -0700 Subject: [PATCH] [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 --- types/cosmiconfig/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/cosmiconfig/index.d.ts b/types/cosmiconfig/index.d.ts index eb876b6ef2..16ba1967f3 100644 --- a/types/cosmiconfig/index.d.ts +++ b/types/cosmiconfig/index.d.ts @@ -14,7 +14,7 @@ export interface Config { export type CosmiconfigResult = { config: Config; - filePath: string; + filepath: string; isEmpty?: boolean; } | null;