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';
77import * as pubsub from './providers/pubsub' ;
88import * as storage from './providers/storage' ;
99
10- export interface FeaturesList {
10+ export interface LazyFeatures {
1111 mockConfig : typeof mockConfig ;
1212 wrap : typeof wrap ;
1313 makeChange : typeof makeChange ;
@@ -20,7 +20,7 @@ export interface FeaturesList {
2020 storage : typeof storage ;
2121}
2222
23- export const features : FeaturesList = {
23+ export const features : LazyFeatures = {
2424 mockConfig,
2525 wrap,
2626 makeChange,
@@ -32,3 +32,7 @@ export const features: FeaturesList = {
3232 pubsub,
3333 storage,
3434} ;
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) => {
3535 features = merge ( { } , features , {
3636 cleanup : ( ) => test . cleanup ,
3737 } ) ;
38- return features ;
38+ return features as FeaturesList ;
3939} ;
You can’t perform that action at this time.
0 commit comments