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
2nd and 3rd args of move function(defined at mock-interactions.js) are expected non-nullable objects have x and y properties.
export function move(node, fromXY, toXY, steps) { steps = steps || 5; var dx = Math.round((fromXY.x - toXY.x) / steps); var dy = Math.round((fromXY.y - toXY.y) / steps); ...
But according to type definition (mock-interactions.d.ts), it is nullable.
declare function move(node: Element, fromXY: object|null, toXY: object|null, ...
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description
2nd and 3rd args of move function(defined at mock-interactions.js) are expected non-nullable objects have x and y properties.
But according to type definition (mock-interactions.d.ts), it is nullable.
The text was updated successfully, but these errors were encountered: