First of all thanks for awesome library!
I'm working with Typescript React D3 stack and this library suits very well for my needs but unfortunately even with the example from the documentation TS error is thrown: Argument of type 'Annotation<any>' is not assignable to parameter of type '(selection: Selection<SVGGElement, unknown, HTMLElement, any>, ...args: any[]) => void'
https://codesandbox.io/s/sad-visvesvaraya-e7xqz?file=/src/annotations.ts
First of all thanks for awesome library!
I'm working with
TypescriptReactD3stack and this library suits very well for my needs but unfortunately even with the example from the documentation TS error is thrown: Argument of type 'Annotation<any>' is not assignable to parameter of type '(selection: Selection<SVGGElement, unknown, HTMLElement, any>, ...args: any[]) => void'https://codesandbox.io/s/sad-visvesvaraya-e7xqz?file=/src/annotations.ts