Skip to content

Instantly share code, notes, and snippets.

@yavorski
Created May 5, 2020 21:41
Show Gist options
  • Save yavorski/32927022ef987d45c9934be05fe0c457 to your computer and use it in GitHub Desktop.
Save yavorski/32927022ef987d45c9934be05fe0c457 to your computer and use it in GitHub Desktop.
TypeScript set output indentation to 2 spaces FIX
#!/usr/bin/env bash
sed -i 's/indentStrings = \["", " "\]/indentStrings = \["", " "\]/g' node_modules/typescript/lib/*.js
grep "indentStrings =" node_modules/typescript -R
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment