We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://github.com/fivdi/spi-device/blob/master/spi-device.d.ts#L44 declares that options parameter can be null or undefined but node crashes using these values: With null:
null
undefined
var spi = require("spi-device"); var d = spi.open(0, 0, null, err => console.log(err)); // FATAL ERROR: v8::Object::Cast Could not convert to object
With undefined:
var spi = require("spi-device"); var d = spi.open(0, 0, undefined, err => console.log(err)); // FATAL ERROR: v8::Object::Cast Could not convert to object
The text was updated successfully, but these errors were encountered:
No branches or pull requests
https://github.com/fivdi/spi-device/blob/master/spi-device.d.ts#L44
declares that options parameter can be
null
orundefined
but node crashes using these values:With
null
:With
undefined
:The text was updated successfully, but these errors were encountered: