Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- interface IUser {
- getPassword(): string;
- setPassword(p: string): void;
- }
- class User implements IUser {
- getPassword() ...
- setPassword(password) ...
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement