From 53c839880312ee760d47d350cc1eacedfad902f1 Mon Sep 17 00:00:00 2001 From: yoichi Date: Thu, 30 Jul 2020 00:38:16 +0900 Subject: [PATCH] Fix the type of excerpt function --- gray-matter.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gray-matter.d.ts b/gray-matter.d.ts index dec9c09..cd864d7 100644 --- a/gray-matter.d.ts +++ b/gray-matter.d.ts @@ -26,7 +26,7 @@ declare namespace matter { > { parser?: () => void eval?: boolean - excerpt?: boolean | ((input: I, options: O) => string) + excerpt?: boolean | ((file: GrayMatterFile, options: O) => void) excerpt_separator?: string engines?: { [index: string]: