mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-01 11:50:54 +08:00
Added marked v0.2.6
This commit is contained in:
Vendored
+14
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user