Skip to content

Instantly share code, notes, and snippets.

@bryantee
Last active September 20, 2018 18:29
Show Gist options
  • Save bryantee/1b6464284d4010aa99ad94f0dd4ff856 to your computer and use it in GitHub Desktop.
Save bryantee/1b6464284d4010aa99ad94f0dd4ff856 to your computer and use it in GitHub Desktop.
Testing TypeScript support code blocks

TypeScript

  const things: string[] = ['foo', 'bar'];

vs

JavaScript

  const things: string[] = ['foo', 'bar'];

Take away: They're the exact same. They both show TypeScript type syntax highlighting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment