Update Typescript definitions