From 3f9159cce6f31ef3ab780a30cf9006e2660f9447 Mon Sep 17 00:00:00 2001 From: "Mr.Hope" Date: Wed, 15 May 2024 17:11:30 +0800 Subject: [PATCH] chore: fix types --- packages/markdown/src/plugins/linksPlugin/resolvePaths.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/markdown/src/plugins/linksPlugin/resolvePaths.ts b/packages/markdown/src/plugins/linksPlugin/resolvePaths.ts index f24e41fd59..0fe64373b9 100644 --- a/packages/markdown/src/plugins/linksPlugin/resolvePaths.ts +++ b/packages/markdown/src/plugins/linksPlugin/resolvePaths.ts @@ -12,7 +12,7 @@ export const resolvePaths = ( absolutePath: string | null relativePath: string } => { - let absolutePath: string + let absolutePath: string | null let relativePath: string // if raw path is absolute