Open ryanberckmans opened 5 years ago
That typing set is not good enough - it doesn't contain the typing details for CytoscapeComponent.normalizeElements
, so the user can't call the function when using TypeScript
CytoscapeComponent.normalizeElements
and other properties are now present in the definition, see: https://github.com/manuc66/react-cytoscapejs-typescript-sample/blob/master/typings/react-cytoscapejs.d.ts
@manuc66, would you please add your definition to DefinitelyTyped?
There are instructions here: https://definitelytyped.org/guides/contributing.html
Here is the PR : DefinitelyTyped/DefinitelyTyped#45577
The PR has been merged
Could you please add TypeScript typings to this repo or to a new
@types/react-cytoscapejs
package?Looks like someone already wrote them https://github.com/manuc66/react-cytoscapejs-typescript-sample/blob/master/typings/react-cytoscapejs.d.ts