Update flowchart js (#674)

This commit is contained in:
mrdrogdrog 2020-10-13 15:55:15 +02:00 committed by GitHub
parent 0d2c2fe0ee
commit d5ee2f6d54
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 18 additions and 5 deletions

View file

@ -0,0 +1,13 @@
declare module 'flowchart.js' {
export interface Options {
'line-width': number,
'fill': string,
'font-size': string,
'font-family': string
}
export interface ParseOutput {
clean: () => void,
drawSVG: (container: HTMLElement, options: Options) => void,
}
export function parse(code: string): ParseOutput
}