We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 045e4b5 commit 0453815Copy full SHA for 0453815
packages-exp/functions-compat/src/register.ts
@@ -24,7 +24,8 @@ import {
24
Component,
25
ComponentType,
26
InstanceFactory,
27
- ComponentContainer
+ ComponentContainer,
28
+ InstanceFactoryOptions
29
} from '@firebase/component';
30
import { Functions as FunctionsServiceExp } from '@firebase/functions-exp';
31
@@ -38,7 +39,7 @@ declare module '@firebase/component' {
38
39
40
const factory: InstanceFactory<'functions-compat'> = (
41
container: ComponentContainer,
- regionOrCustomDomain?: string
42
+ { instanceIdentifier: regionOrCustomDomain }: InstanceFactoryOptions
43
) => {
44
// Dependencies
45
const app = container.getProvider('app-compat').getImmediate();
0 commit comments