Guest User

Untitled

a guest
Dec 27th, 2018
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. import {Document} from "mongoose";
  2.  
  3. /**
  4. * This is interface for user
  5. * @interface
  6. * @extends {Document}
  7. */
  8. export interface IUser extends Document {
  9. // tslint:disable-next-line:semicolon
  10. username: string,
  11. // tslint:disable-next-line:semicolon
  12. password: string,
  13. // tslint:disable-next-line:semicolon
  14. _id: any,
  15. // tslint:disable-next-line:semicolon
  16. name: string,
  17. }
Add Comment
Please, Sign In to add comment