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