next/typings/express.d.ts
☙◦ The Tablet ❀ GamerGirlandCo ◦❧ cc462bc19a
chore: add typescript shims
shims added for `mongoose-sequence`, `blueimp-md5`, and `bcryptjs`
2023-09-25 19:29:35 -04:00

21 lines
397 B
TypeScript

import { Document } from "mongoose";
import { IStory } from "~/models/stories";
import { IUser } from "~/models/user";
import {Request} from "express"
declare global {
declare namespace Express {
interface Request {
newStory?: IStory,
user?: IUser;
files: any;
AddID?: string | number;
readStory?: IStory;
cidx?: number;
}
interface User {
[key: string]: any
}
}
}