Skip to content

Commit

Permalink
Merge pull request #74 from stas-vilchik/fix-graymatteroption-engines
Browse files Browse the repository at this point in the history
[typescript] Fix GrayMatterOption.engines types.
  • Loading branch information
robertmassaioli authored Jan 10, 2019
2 parents 97eb641 + d9255dc commit 59122ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gray-matter.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ declare namespace matter {
excerpt_separator?: string
engines?: {
[index: string]:
| ((string) => object)
| { parse: (string) => object; stringify?: (object) => string }
| ((input: string) => object)
| { parse: (input: string) => object; stringify?: (data: object) => string }
}
language?: string
delimiters?: string | [string, string]
Expand Down

0 comments on commit 59122ca

Please sign in to comment.