mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-20 10:15:17 -04:00
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:
parent
a9130aedb8
commit
8e60c1750f
4 changed files with 6 additions and 22 deletions
16
src/external-types/flowchart.js/index.d.ts
vendored
16
src/external-types/flowchart.js/index.d.ts
vendored
|
@ -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
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue