/UserService.ts Secret
Last active
October 24, 2022 05:20
User Service
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
import { IUserData, IUserServiceModel } from './UserServiceModel.ts'; | |
export class UserService implements IUserServiceModel { | |
private _userData: IUserData; | |
constructor() { | |
//... | |
} | |
set userData(data: IUserData) { | |
this._userData = data; | |
} | |
get userData() { | |
return this._userData; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment