fix: json type make ts-jest happy

This commit is contained in:
Innei
2022-04-23 19:35:57 +08:00
parent 112b34ca62
commit 9b4633bf0e

4
test/global.d.ts vendored
View File

@@ -15,6 +15,10 @@ declare global {
export const consola: Consola
export const cwd: string
interface JSON {
safeParse: typeof JSON.parse
}
}
export {}