File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 1+ import { } from "jasmine" ;
12// @angular -package/type.
23import { is } from '@angular-package/type' ;
34// Type.
@@ -45,13 +46,13 @@ export class TestingExpect {
4546 e = expectationFailOutput
4647 ? expect ( actual ) . withContext ( expectationFailOutput )
4748 : expect ( actual )
48- ) : jasmine . Matchers < typeof actual > {
49+ ) : jasmine . Matchers < ExpectType < T > > {
4950 return is . true ( this . #not) ? e . not : e ;
5051 }
5152
5253 protected expectation < T > (
5354 actual : ExpectType < T > ,
54- callbackfn : ( matchers : jasmine . Matchers < typeof actual > ) => any ,
55+ callbackfn : ( matchers : jasmine . Matchers < ExpectType < T > > ) => any ,
5556 expectationFailOutput ?: any ,
5657 ) : this {
5758 callbackfn && callbackfn ( this . expect ( actual , expectationFailOutput ) ) ;
You can’t perform that action at this time.
0 commit comments