Created
October 8, 2017 15:49
-
-
Save NMZivkovic/78e38baef2c9fb8727926786f6c9cf2a to your computer and use it in GitHub Desktop.
This file contains hidden or 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 User { | |
constructor( | |
public _id: string, | |
public name : String, | |
public age: Number, | |
public location : string, | |
public blog: string | |
){} | |
static CreateDefault(): User { | |
return new User('', '', 0, '', ''); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment