function spyRe-exportimport { spy } from "https://deno.land/x/cotton@v0.7.1/testdeps.ts"; spy<T>(objOrFunc?: T | Function, method?: string): Spy<T> | Spy<void>Type ParametersTParametersoptionalobjOrFunc: T | Functionoptionalmethod: stringReturnsSpy<T> | Spy<void>