Skip to content

Instantly share code, notes, and snippets.

@staff0rd
staff0rd / User.ts
Created Feb 7, 2016 — forked from masahirompp/User.ts
mongoose + typescript
View User.ts
/// <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;