diff --git a/marked/marked-0.2.6.d.ts b/marked/marked-0.2.6.d.ts new file mode 100644 index 000000000..a059a3e6a --- /dev/null +++ b/marked/marked-0.2.6.d.ts @@ -0,0 +1,14 @@ +declare module "marked" { + export function (src: string, opt?: Options): string; + export function lexer(src: string, opt?: Options): Array; + export function parser(src: string, opt?: Options): string; + export function parse(src: string, opt?: Options): string; + export function setOptions(opt: Options): void; +} + +interface Options { + gfm?: bool; + pedantic?: bool; + sanitize?: bool; + highlight?: bool; +}