We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 52d0835 commit db8e55dCopy full SHA for db8e55d
packages/component/src/provider.ts
@@ -48,8 +48,11 @@ export class Provider<T = unknown> {
48
return this.instancesDeferred.get(normalizedIdentifier)!.promise;
49
}
50
51
- getImmediate(identifier: string | undefined, options: { optional: true }): T | null
52
- getImmediate(identifier?: string, options?: {optional: false}): T
+ getImmediate(
+ identifier: string | undefined,
53
+ options: { optional: true }
54
+ ): T | null;
55
+ getImmediate(identifier?: string, options?: { optional: false }): T;
56
getImmediate(
57
identifier: string = DEFAULT_ENTRY_NAME,
58
options?: { optional: boolean }
0 commit comments