File tree Expand file tree Collapse file tree 3 files changed +4
-14
lines changed
Expand file tree Collapse file tree 3 files changed +4
-14
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,10 @@ import Owner from '@ember/owner';
44import ApplicationInstance from '@ember/application/instance' ;
55import Service from '@ember/service' ;
66import { expectTypeOf } from 'expect-type' ;
7+ import { getOwner as getOwnerProper , setOwner as setOwnerProper } from '@ember/owner' ;
8+
9+ expectTypeOf ( getOwner ) . toEqualTypeOf ( getOwnerProper ) ;
10+ expectTypeOf ( setOwner ) . toEqualTypeOf ( setOwnerProper ) ;
711
812expectTypeOf ( getOwner ( { } ) ) . toEqualTypeOf < Owner | undefined > ( ) ;
913
Original file line number Diff line number Diff line change @@ -10,13 +10,6 @@ import Owner, {
1010} from '@ember/owner' ;
1111import Component from '@glimmer/component' ;
1212import { expectTypeOf } from 'expect-type' ;
13- import {
14- getOwner as getOwnerApplication ,
15- setOwner as setOwnerApplication ,
16- } from '@ember/application' ;
17-
18- expectTypeOf ( getOwnerApplication ) . toEqualTypeOf ( getOwner ) ;
19- expectTypeOf ( setOwnerApplication ) . toEqualTypeOf ( setOwner ) ;
2013
2114// Just a class we can construct in the Factory and FactoryManager tests
2215declare class ConstructThis {
Original file line number Diff line number Diff line change @@ -10,13 +10,6 @@ import Owner, {
1010} from '@ember/owner' ;
1111import Component from '@glimmer/component' ;
1212import { expectTypeOf } from 'expect-type' ;
13- import {
14- getOwner as getOwnerApplication ,
15- setOwner as setOwnerApplication ,
16- } from '@ember/application' ;
17-
18- expectTypeOf ( getOwnerApplication ) . toEqualTypeOf ( getOwner ) ;
19- expectTypeOf ( setOwnerApplication ) . toEqualTypeOf ( setOwner ) ;
2013
2114// Just a class we can construct in the Factory and FactoryManager tests
2215declare class ConstructThis {
You can’t perform that action at this time.
0 commit comments