Update dependency flowchart.js to v1.15.0 (#680)

* Update dependency flowchart.js to v1.15.0

* Remove custom types

Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>

* Adjust code to new types

Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
This commit is contained in:
renovate[bot] 2020-10-17 18:50:08 +02:00 committed by GitHub
parent a9130aedb8
commit 8e60c1750f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 22 deletions

View file

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