Files
core/apps/core/global.d.ts
Innei 43b1d98698 refactor: upgrade zx
Signed-off-by: Innei <i@innei.in>
2023-12-13 22:21:42 +08:00

19 lines
389 B
TypeScript

import type { Document, PaginateModel } from 'mongoose'
import '@mx-space/external/zx-global'
import type { ModelType } from '@typegoose/typegoose/lib/types'
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 const cwd: string
}
export {}