@nodecg/types
Version:
Dynamic broadcast graphics rendered in a browser
18 lines (14 loc) • 447 B
text/typescript
/* eslint-disable @typescript-eslint/no-empty-object-type */
import type { User } from "@nodecg/database-adapter-types";
interface UserModel extends User {}
declare global {
// eslint-disable-next-line @typescript-eslint/no-namespace
namespace Express {
/**
* This is the idiomatic, intended way of
* adding one's User type to the Request object
* when using Express with Passport.
*/
interface User extends UserModel {}
}
}