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]: