biofriction-wp-theme/node_modules/front-matter/index.d.ts

14 lines
239 B
TypeScript

interface FrontMatterResult<T> {
readonly attributes: T
readonly body: string
readonly frontmatter: string
}
interface FM {
<T>(file: string): FrontMatterResult<T>
test(file: string): boolean
}
declare const fm: FM
export = fm