Re:JavaScript is Good, Actually
by rootlocus on Wednesday May 16, 2018 @03:10AM
(#17080551)
> the only thing you have to do to turn it into JS is remove the `as ConsignmentSetup`
Removing the cast means removing static typing. It might be a small change for this snippet, but at the project level, you'd need considerably more changes, and you'd lose type safety.
Removing the cast means removing static typing. It might be a small change for this snippet, but at the project level, you'd need considerably more changes, and you'd lose type safety.