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

14 lines
239 B
TypeScript
Raw Normal View History

2021-10-26 14:18:09 +02:00
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