mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-20 02:05:21 -04:00
Update flowchart js (#674)
This commit is contained in:
parent
0d2c2fe0ee
commit
d5ee2f6d54
3 changed files with 18 additions and 5 deletions
13
src/external-types/flowchart.js/index.d.ts
vendored
Normal file
13
src/external-types/flowchart.js/index.d.ts
vendored
Normal 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
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue