Update for TypeScript.