Skip to content

Instantly share code, notes, and snippets.

@aaronpowell
Created December 11, 2012 02:34
Show Gist options
  • Select an option

  • Save aaronpowell/4255436 to your computer and use it in GitHub Desktop.

Select an option

Save aaronpowell/4255436 to your computer and use it in GitHub Desktop.
Invalid typescript
var foo = 'baz';
var bar: any;
bar = foo === 'true' ? true : foo === 'false' ? false : foo;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment