Skip to content

Instantly share code, notes, and snippets.

@cwgreene
Created September 25, 2016 21:07
Show Gist options
  • Save cwgreene/63d87f053bc9002d44d290e00cd8725f to your computer and use it in GitHub Desktop.
Save cwgreene/63d87f053bc9002d44d290e00cd8725f to your computer and use it in GitHub Desktop.
/* Valid Typescript */
function f(x) {
return "hello world";
}
/* Invalid Typescript */
function f(x) {
if (x < 5)
return "hello world";
return 7;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment