Closed colinl closed 2 years ago
When I run this through nrlint, I don't get any errors.
I do so an error when I edit this code using monaco - it complains about the types in the sum. Is that what you're referring to? IN which case, this isn't an nrlint bug - its something to do with monaco and its own built-in javascript validation.
Yes, it was the types in the sum I was referring to, I should have been more explicit. You are correct, it isn't an nrlint issue, it only appears when using Monaco. I will close this.
Current Behavior
Using nrlint 1.0.2 the following code shows the error that the left hand side of an arithmetic operation must of type 'any', 'Number' ... The function does run ok (it subtracts the millisecond values).
Expected Behavior
No error should be reported
Steps To Reproduce
See example flow
Example flow
Environment