Hack typescript to work on appharbour