Skip to content

Instantly share code, notes, and snippets.

@fud
Created April 2, 2019 05:50
Show Gist options
  • Save fud/64b6ebd3ebd7a5d608e32408b1c22e4f to your computer and use it in GitHub Desktop.
Save fud/64b6ebd3ebd7a5d608e32408b1c22e4f to your computer and use it in GitHub Desktop.
Script to update fhir types.
grep interface index.d.ts | cut -d' ' -f6 | gsed -E 's/^(.*)$/export type \1 = fhir.\1;/g' | copy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment