diff --git a/gray-matter.d.ts b/gray-matter.d.ts index dec9c09..2c8795e 100644 --- a/gray-matter.d.ts +++ b/gray-matter.d.ts @@ -36,10 +36,18 @@ declare namespace matter { language?: string delimiters?: string | [string, string] } + + interface GrayMatterSection { + [key: string]: string, + data: string, + content: string + } + interface GrayMatterFile { data: { [key: string]: any } content: string excerpt?: string + sections?: GrayMatterSection orig: Buffer | I language: string matter: string