File tree Expand file tree Collapse file tree 1 file changed +5
-8
lines changed
packages-exp/functions-exp/src Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -28,11 +28,6 @@ import { FUNCTIONS_TYPE } from './constants';
28
28
export const DEFAULT_REGION = 'us-central1' ;
29
29
30
30
export function registerFunctions ( fetchImpl : typeof fetch ) : void {
31
- const namespaceExports = {
32
- // no-inline
33
- Functions : FunctionsService
34
- } ;
35
-
36
31
const factory : InstanceFactory < 'functions' > = (
37
32
container : ComponentContainer ,
38
33
region ?: string
@@ -53,8 +48,10 @@ export function registerFunctions(fetchImpl: typeof fetch): void {
53
48
} ;
54
49
55
50
_registerComponent (
56
- new Component ( FUNCTIONS_TYPE , factory , ComponentType . PUBLIC )
57
- . setServiceProps ( namespaceExports )
58
- . setMultipleInstances ( true )
51
+ new Component (
52
+ FUNCTIONS_TYPE ,
53
+ factory ,
54
+ ComponentType . PUBLIC
55
+ ) . setMultipleInstances ( true )
59
56
) ;
60
57
}
You can’t perform that action at this time.
0 commit comments