( providedIn: Function | string | null | undefined, )
| 839 | } |
| 840 | |
| 841 | function computeProvidedIn( |
| 842 | providedIn: Function | string | null | undefined, |
| 843 | ): MaybeForwardRefExpression { |
| 844 | const expression = |
| 845 | typeof providedIn === 'function' |
| 846 | ? new WrappedNodeExpr(providedIn) |
| 847 | : new LiteralExpr(providedIn ?? null); |
| 848 | // See `convertToProviderExpression()` for why this uses `ForwardRefHandling.None`. |
| 849 | return createMayBeForwardRefExpression(expression, ForwardRefHandling.None); |
| 850 | } |
| 851 | |
| 852 | function convertR3DependencyMetadataArray( |
| 853 | facades: R3DependencyMetadataFacade[] | null | undefined, |
no test coverage detected