rewire
rewire copied to clipboard
unpexpected : due to type definition in TS
TS file method with datatype in function doesn't work.
myFunction inside somefile.ts, which is rewired Doesn't work
function myFunction(a: number, b: number) {
return a + b;
}
Error thrown: SyntaxError: Unexpected token ':'
Works
function myFunction(a, b) {
return a + b;
}
There are some workarounds in #185