Outlining: Fixes for TypeScript