We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
typeof
1 parent 8a54d21 commit aebca1dCopy full SHA for aebca1d
src/lib/expect.class.ts
@@ -38,12 +38,12 @@ export class Expect {
38
public expect<T>(
39
actual: ExpectType<T>,
40
expectationFailOutput?: any,
41
- ): jasmine.Matchers<typeof actual> {
+ ): jasmine.Matchers<ExpectType<T>> {
42
return this.#expect.expect(actual, expectationFailOutput);
43
}
44
protected expectation<T>(
45
46
- callbackfn: (matchers: jasmine.Matchers<typeof actual>) => any,
+ callbackfn: (matchers: jasmine.Matchers<ExpectType<T>>) => any,
47
48
): this {
49
callbackfn && callbackfn(this.expect(actual, expectationFailOutput));
0 commit comments