[WIP]Typescript support