File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ import * as firestore from './providers/firestore';
7
7
import * as pubsub from './providers/pubsub' ;
8
8
import * as storage from './providers/storage' ;
9
9
10
- export interface FeaturesList {
10
+ export interface LazyFeatures {
11
11
mockConfig : typeof mockConfig ;
12
12
wrap : typeof wrap ;
13
13
makeChange : typeof makeChange ;
@@ -20,7 +20,7 @@ export interface FeaturesList {
20
20
storage : typeof storage ;
21
21
}
22
22
23
- export const features : FeaturesList = {
23
+ export const features : LazyFeatures = {
24
24
mockConfig,
25
25
wrap,
26
26
makeChange,
@@ -32,3 +32,7 @@ export const features: FeaturesList = {
32
32
pubsub,
33
33
storage,
34
34
} ;
35
+
36
+ export interface FeaturesList extends LazyFeatures {
37
+ cleanup ;
38
+ }
Original file line number Diff line number Diff line change @@ -35,5 +35,5 @@ export = (firebaseConfig?: AppOptions) => {
35
35
features = merge ( { } , features , {
36
36
cleanup : ( ) => test . cleanup ,
37
37
} ) ;
38
- return features ;
38
+ return features as FeaturesList ;
39
39
} ;
You can’t perform that action at this time.
0 commit comments