Files
core/global.d.ts
2021-09-07 14:33:41 +08:00

14 lines
330 B
TypeScript

import { ModelType } from '@typegoose/typegoose/lib/types'
import { Document, PaginateModel } from 'mongoose'
import 'zx/globals'
declare global {
export type KV<T = any> = Record<string, T>
// @ts-ignore
export type MongooseModel<T> = ModelType<T> & PaginateModel<T & Document>
export const isDev: boolean
}
export {}