Files
core/apps/core/global.d.ts
Innei f60c1c23b3 chore: fix typo #2266
Signed-off-by: Innei <tukon479@gmail.com>
2024-12-19 14:17:08 +08:00

19 lines
389 B
TypeScript

import type { Document, PaginateModel } from 'mongoose'
import '@mx-space/compiled/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 {}