Skip to content

Commit fe963f8

Browse files
committed
Remove namespace exports from functions-exp
1 parent fa623e0 commit fe963f8

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

packages-exp/functions-exp/src/config.ts

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,6 @@ import { FUNCTIONS_TYPE } from './constants';
2828
export const DEFAULT_REGION = 'us-central1';
2929

3030
export function registerFunctions(fetchImpl: typeof fetch): void {
31-
const namespaceExports = {
32-
// no-inline
33-
Functions: FunctionsService
34-
};
35-
3631
const factory: InstanceFactory<'functions'> = (
3732
container: ComponentContainer,
3833
region?: string
@@ -53,8 +48,10 @@ export function registerFunctions(fetchImpl: typeof fetch): void {
5348
};
5449

5550
_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)
5956
);
6057
}

0 commit comments

Comments
 (0)