From 66a6c27f4418bd22649f2576e977b6b1d17c2b89 Mon Sep 17 00:00:00 2001 From: chenhaoli Date: Fri, 24 Dec 2021 16:47:14 +0800 Subject: [PATCH] fix(types): '_filePath' implicitly has an 'any' type --- packages/@vuepress/types/lib/context.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/@vuepress/types/lib/context.ts b/packages/@vuepress/types/lib/context.ts index 418bcd867d..7f74ea40f7 100644 --- a/packages/@vuepress/types/lib/context.ts +++ b/packages/@vuepress/types/lib/context.ts @@ -15,7 +15,7 @@ export interface Page< /** * file's absolute path */ - _filePath; + _filePath: string; /** * Access the client global computed mixins at build time, e.g _computed.$localePath. */