file /**
 * This encapsulates the data of the GitHub user
 */ export class User { public userName : string ; public avatarURL : string ; public token : string ; constructor param { string } token param { string } userName param { string } avatar_url constructor ( token , userName , avatarURL ) { this . token = token ; this . userName = userName ; this . avatarURL = avatarURL ; } returns public withoutToken ( ) { return new User ( null , this . userName , this . avatarURL ) ; } }