From 233dcb77c498ad9c067e352b2d2ac9b10597728a Mon Sep 17 00:00:00 2001 From: dimaslanjaka Date: Thu, 15 Feb 2024 00:47:15 +0700 Subject: [PATCH] chore: import hexo from parent folder --- lib/plugins/filter/before_post_render/dataType.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/plugins/filter/before_post_render/dataType.ts b/lib/plugins/filter/before_post_render/dataType.ts index 433ef2cbd1..626e6404ce 100644 --- a/lib/plugins/filter/before_post_render/dataType.ts +++ b/lib/plugins/filter/before_post_render/dataType.ts @@ -1,3 +1,5 @@ +import Hexo from '../../../hexo'; + /** * before_post_render `data` parameter * @@ -8,5 +10,5 @@ export interface extend_filter_before_post_render_data { [key: string]: any; content: string | null | undefined; source: string; - config: import('../../../hexo')['config']; + config: Hexo['config']; }