Skip to content

Instantly share code, notes, and snippets.

@goenning
Last active December 4, 2017 19:29
Show Gist options
  • Save goenning/a4caf5f31c22716dcdbd0e5814313502 to your computer and use it in GitHub Desktop.
Save goenning/a4caf5f31c22716dcdbd0e5814313502 to your computer and use it in GitHub Desktop.
so-40421100
class Employee { firstname: string; lastname: string; }
let employee: Employee = JSON.parse(`{ "firstname": "Jon", "lastname": "Snow" }`);
console.log(employee);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment