Remove type check, typescript ensures there are numbers#11
Remove type check, typescript ensures there are numbers#11rogersm wants to merge 2 commits intoRanvier-TS:masterfrom rogersm:master
Conversation
|
IMO we should keep in some runtime checks and this may be a place for us to do so. Here is why:
Especially with the loss of some safety & defensive coding as outlined in 2, I would be concerned with merging this unless there is something to be gained by removing these checks (outside of shorter files). It may lead to hard-to-debug issues down the line, though I may just be being paranoid. Thoughts? |
Parameters delta and base type are ensured by typescript. No need to have a check to confirm they're numbers.