@@ -15,9 +15,6 @@ import type ParseConfig from './ParseConfig';
15
15
import type LiveQueryClient from './LiveQueryClient' ;
16
16
import type ParseSchema from './ParseSchema' ;
17
17
import type ParseInstallation from './ParseInstallation' ;
18
- import type ParseQuery from './ParseQuery' ;
19
- import type * as ParseOp from './ParseOp' ;
20
- import type ParseRole from './ParseRole' ;
21
18
22
19
type AnalyticsController = {
23
20
track : ( name : string , dimensions : { [ key : string ] : string } ) => Promise < any > ,
@@ -598,43 +595,43 @@ const CoreManager = {
598
595
return config [ 'HooksController' ] ! ;
599
596
} ,
600
597
601
- setParseOp ( op : typeof ParseOp ) {
598
+ setParseOp ( op : any ) {
602
599
config [ 'ParseOp' ] = op ;
603
600
} ,
604
601
605
602
getParseOp ( ) {
606
603
return config [ 'ParseOp' ] ! ;
607
604
} ,
608
605
609
- setParseObject ( object : typeof ParseObject ) {
606
+ setParseObject ( object : any ) {
610
607
config [ 'ParseObject' ] = object ;
611
608
} ,
612
609
613
- getParseObject ( ) : ParseObject {
610
+ getParseObject ( ) {
614
611
return config [ 'ParseObject' ] ! ;
615
612
} ,
616
613
617
- setParseQuery ( query : typeof ParseQuery ) {
614
+ setParseQuery ( query : any ) {
618
615
config [ 'ParseQuery' ] = query ;
619
616
} ,
620
617
621
- getParseQuery ( ) : ParseQuery {
618
+ getParseQuery ( ) {
622
619
return config [ 'ParseQuery' ] ! ;
623
620
} ,
624
621
625
- setParseRole ( role : typeof ParseRole ) {
622
+ setParseRole ( role : any ) {
626
623
config [ 'ParseRole' ] = role ;
627
624
} ,
628
625
629
- getParseRole ( ) : ParseRole {
626
+ getParseRole ( ) {
630
627
return config [ 'ParseRole' ] ! ;
631
628
} ,
632
629
633
- setParseUser ( user : typeof ParseUser ) {
630
+ setParseUser ( user : any ) {
634
631
config [ 'ParseUser' ] = user ;
635
632
} ,
636
633
637
- getParseUser ( ) : ParseUser {
634
+ getParseUser ( ) {
638
635
return config [ 'ParseUser' ] ! ;
639
636
} ,
640
637
} ;
0 commit comments