Created
September 19, 2018 03:26
-
-
Save cpanuphan/8a6fb57bc29de521f043c2d6c75056fc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export class TodoItem { | |
id: number; | |
name: string; | |
isComplete: boolean; | |
constructor(values: Object = {}) { | |
Object.assign(this, values); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment