You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TS declarations support for 'disableLosslessIntegers=true'
Previously TS declaration files only allowed returned integer types to
be `neo4j.Integer`. This was not compatible with newly introduced
`disableLosslessIntegers` config, which makes driver always return
native JS numbers.
This commit allows all integer properties to either be `neo4j.Integer`
or `number`. `Integer` is default. Existing TS users will not need to
change their code. TS users who set 'disableLosslessIntegers=true'
will have to specify generic type explicitly like `Node<number>`.
Property `identity` of such node will have type `number`.
0 commit comments