How can I ignore a line of code in rescript. I mean is it even possible?
You may use //
or /* */
comment syntax to “disable” some code. Or what do you mean by “ignoring a line” specifically?
By ignoring I mean, for example, in typescript we have //@ts-ignore for ignoring a line, can we do something like this in rescript?
Unfortunately no, because ReScript is not a gradually typed language, therefore all code of a module must type-check before it can compile to any JS.
Thank you for the help
Fortunately no, lol
7 Likes