James Paterson
James Paterson
Running PHP version `7.0.15-0ubuntu0.16.04.4`
Looking at the docs in [Migrating from PHP 5.6.x to PHP 7.0.x](http://php.net/manual/en/migration70.incompatible.php), It appears this is a PHP 7 issue - Under the section 'New objects cannot be assigned by...
Blindly tried to fix in [https://github.com/jamjar919/phpdoctor](https://github.com/jamjar919/phpdoctor) but produces duplicate output.
If you want to quickly make this go away, just add a type file called `react-sigma.d.ts` with `declare module "react-sigma"` somewhere in your project. It doesn't have to be complete...
@brianjychan I used my solution above in regards to the typing. Are you getting the same error? This was my final type file https://github.com/jamjar919/spotify-network-explore/blob/main/src/client/types/react-sigma.d.ts