mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-16 12:50:42 +08:00
Added marked v0.2.6
This commit is contained in:
1 parent
22ea294568
commit
665ec76c44
1 file changed
+14
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