Skip to content

Commit

Permalink
feat: add permalink to return type
Browse files Browse the repository at this point in the history
  • Loading branch information
dimaslanjaka committed Apr 23, 2023
1 parent 493fd35 commit 594844a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/front_matter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ export type ParseResult = Record<string, any> & Partial<{
thumbnail: string;
date: any;
updated: any;
permalink: string;
}>

function parse(str: string, options: yaml.LoadOptions = {}) {
Expand Down

0 comments on commit 594844a

Please sign in to comment.