Skip to content

Instantly share code, notes, and snippets.

@bamossza
Created March 12, 2017 10:57
Show Gist options
  • Save bamossza/33e7faad25028ec58eaf5cf830fca158 to your computer and use it in GitHub Desktop.
Save bamossza/33e7faad25028ec58eaf5cf830fca158 to your computer and use it in GitHub Desktop.
let aNumber: any = "5";
let result : number = (<number>aNumber) + 6;
console.log(result); // 11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment