UNPKG
@contentstack/cli-dev-dependencies
Version:
latest (1.3.1)
1.3.1
1.3.0
1.2.4
1.2.3
1.2.2
1.2.1
1.2.0
1.1.0
1.0.0
Customized dev dependencies for ContentStack projects
github.com/contentstack/cli
contentstack/cli
@contentstack/cli-dev-dependencies
/
lib
/
spy.d.ts
10 lines
(9 loc)
•
251 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
import sinon
from
'sinon'
; export
declare
function
spy
<
T
,
K
extends
keyof
T
>(
object
: T, path: K, prefix?:
string
):
{
run
(
ctx
: {
spy
: { [
key
:
string
]: sinon.SinonSpy<any[], any>; }; }):
void
;
finally
():
void
; };