mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-23 04:49:15 +08:00
9 lines
322 B
TypeScript
9 lines
322 B
TypeScript
import when = require('saywhen');
|
|
|
|
when(jasmine.createSpy('test')); // $ExpectType CallHandler<Spy>
|
|
when(jasmine.createSpy('test')).isCalled; // $ExpectType Proxy<Spy>
|
|
|
|
when.captor(); // $ExpectType MatcherProxy<{}>
|
|
when.captor(jasmine.any(Number)); // $ExpectType MatcherProxy<Any>
|
|
when.noConflict(); // $ExpectType void
|