When trying to use billboardjs in a typescript project, the following errors are thrown when compiling:
ERROR in /billboard.js/types/options.d.ts(493,37):
493:37 Parameter 'd' implicitly has an 'any' type.
491 | * Set ratio of labels position.
492 | */
> 493 | ratio? : number | ((this: Chart, d, radius, h) => number)
| ^
494 |
495 | /**
496 | * Set threshold ratio to show/hide labels.
ERROR in /billboard.js/types/options.d.ts(493,40):
493:40 Parameter 'radius' implicitly has an 'any' type.
491 | * Set ratio of labels position.
492 | */
> 493 | ratio? : number | ((this: Chart, d, radius, h) => number)
| ^
494 |
495 | /**
496 | * Set threshold ratio to show/hide labels.
ERROR in /billboard.js/types/options.d.ts(493,48):
493:48 Parameter 'h' implicitly has an 'any' type.
491 | * Set ratio of labels position.
492 | */
> 493 | ratio? : number | ((this: Chart, d, radius, h) => number)
| ^
494 |
495 | /**
496 | * Set threshold ratio to show/hide labels.
Use billboard.js with typescript.
Hi @3bdNKocY, thanks for the report.
Thanks for the very quick fix. So far it's a joy to use the library.