refactor: add cwd constant
This commit is contained in:
5
test/global.d.ts
vendored
5
test/global.d.ts
vendored
@@ -1,7 +1,9 @@
|
||||
import { ModelType } from '@typegoose/typegoose/lib/types'
|
||||
import { Consola } from 'consola'
|
||||
import { Document, PaginateModel } from 'mongoose'
|
||||
import 'zx-cjs/globals'
|
||||
|
||||
import { ModelType } from '@typegoose/typegoose/lib/types'
|
||||
|
||||
declare global {
|
||||
export type KV<T = any> = Record<string, T>
|
||||
|
||||
@@ -11,6 +13,7 @@ declare global {
|
||||
export const isDev: boolean
|
||||
|
||||
export const consola: Consola
|
||||
export const cwd: string
|
||||
}
|
||||
|
||||
export {}
|
||||
|
||||
Reference in New Issue
Block a user