Fixed typo in typescript defs