Add Number.parseInt + Number.parseFloat#1491
Conversation
|
Thank you! |
|
Please add one or two tests for this in https://github.com/TypeScriptToLua/TypeScriptToLua/blob/master/test/unit/builtins/numbers.spec.ts |
|
Sure ^^ |
|
Would it perhaps look something like that? I haven't really worked a lot with Jest though, so would be great if someone could look over it :) |
|
Maybe a little extreme rerunning all the tests since like you said the functions already existed and were tested throroughly, but from tests-as-specification point of view I guess this is alright |
Yeah, it should probably be possible to modify the old tests to test it both without and with the |
|
<3 |
Resolves issue: #1471
This maps
Number.parseInttoparseIntandNumber.parseFloattoparseFloat