-
-
Save CalinaCristian/d45a0a707bc17824581240f3d5210e18 to your computer and use it in GitHub Desktop.
User Service
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
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