fix: json type make ts-jest happy
This commit is contained in:
4
test/global.d.ts
vendored
4
test/global.d.ts
vendored
@@ -15,6 +15,10 @@ declare global {
|
||||
|
||||
export const consola: Consola
|
||||
export const cwd: string
|
||||
|
||||
interface JSON {
|
||||
safeParse: typeof JSON.parse
|
||||
}
|
||||
}
|
||||
|
||||
export {}
|
||||
|
||||
Reference in New Issue
Block a user