On some functions and type definitions related to Change Events,
the generics for the types Node and Edge were being lost.
This commit fixes those:
- Functions
- applyNodeChanges
- applyEdgeChanges
- Types
- NodeChange
- EdgeChange
- OnNodesChange
- OnEdgesChange