Skip to content

Instantly share code, notes, and snippets.

@staff0rd
staff0rd / User.ts
Created February 7, 2016 12:51 — forked from masahirompp/User.ts
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;