~exprez135/taliaferro

ref: 8b6e0f7c019f532841af40b950c4048422232234 taliaferro/node_modules/gray-matter/gray-matter.d.ts -rw-r--r-- 489 bytes
8b6e0f7c — Nate rebuilding site Sun Feb 9 13:47:19 CST 2020: Fix navbar symbols showing up first. 1 year, 11 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
declare function matter(str: string, options?: matter.GrayMatterOption): any

declare namespace matter {
  interface GrayMatterOption {
    parser?: () => void;
    eval?: boolean;
    lang?: string;
    delims?: string | string[];
  }
  export function read(fp: string, options?: GrayMatterOption): any;
  export function stringify(str: string, data: object, options?: GrayMatterOption): string;
  export function test(str: string, options?: GrayMatterOption): string;
}

export = matter