Skip to content

Instantly share code, notes, and snippets.

View mnmaraes's full-sized avatar

Murillo Nicacio de Maraes mnmaraes

View GitHub Profile
@masahirompp
masahirompp / User.ts
Last active May 5, 2021 20:04
mongoose + typescript
/// <reference path="../tsd/tsd.d.ts" />
import mongoose = require('mongoose');
import passport = require('passport');
interface IUser extends mongoose.Document {
provider: string;
id: string;
authorId: string;
displayName: string;