16 lines
298 B
TypeScript
16 lines
298 B
TypeScript
|
declare module 'tiny-matter' {
|
||
|
function matter(str: string, options?: TinyMatterOptions): TinyMatterResult;
|
||
|
|
||
|
interface TinyMatterOptions {
|
||
|
delimiters?: [string, string];
|
||
|
parser?: any;
|
||
|
}
|
||
|
|
||
|
interface TinyMatterResult {
|
||
|
content: string;
|
||
|
data?: object;
|
||
|
}
|
||
|
|
||
|
export = matter;
|
||
|
}
|