publishing
This commit is contained in:
11
npm/index.d.ts
vendored
Normal file
11
npm/index.d.ts
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
export type Warning = {
|
||||
type: string;
|
||||
message: string;
|
||||
line_number?: number;
|
||||
};
|
||||
export type ParseResult = {
|
||||
html: string;
|
||||
warnings: Warning[];
|
||||
};
|
||||
export declare function parse_md_to_html_with_warnings(md: string): ParseResult;
|
||||
export declare function parse_md_to_html(md: string): string;
|
||||
Reference in New Issue
Block a user