use new version of typescript-api