Outlining: Fixes for TypeScript.