tippyjs-react icon indicating copy to clipboard operation
tippyjs-react copied to clipboard

Typescript 4.9.4 error @popperjs/core: This type parameter might need an `extends Obj` constraint.

Open nikage opened this issue 2 years ago • 0 comments

 node_modules/tippy.js/node_modules/@popperjs/core/lib/types.d.ts:117:36
    117 export declare type Modifier<Name, Options> = {
                                           ~~~~~~~
    This type parameter might need an `extends Obj` constraint.

I've fixed the issue with a local patch, but it seems tippy.js dependency needs to be updated.

https://github.com/floating-ui/floating-ui/issues/2106#issuecomment-1375795158

nikage avatar Jan 09 '23 16:01 nikage