Hi all,
Just wondering if anyone has come across anything like this;
ERROR in /Users/mikey/hubgit/radicle-solutions/fe-mesh/node_modules/@types/react/index.d.ts(120,51):
120:51 Type 'C' does not satisfy the constraint 'ElementType<any>'.
Type 'string | number | ForwardRefExoticComponent<any> | (new (props: any) => Component<any, {}, any>) | ((props: any, context?: any) => ReactElement<any, string | ((props: any) => ReactElement<...> | null) | (new (props: any) => Component<...>)> | null)' is not assignable to type 'ElementType<any>'.
which happens in a vue app after I import @blockstack/connect
I’ve imported react / react-dom as dev dependencies as follows…
npm install react react-dom --sav
npm install --save typescript @types/node @types/react @types/react-dom @types/jest
Note - I have exactly the same config working in a non typescript context?