( predicate: OpaqueValue | string[], )
| 498 | } |
| 499 | |
| 500 | function convertQueryPredicate( |
| 501 | predicate: OpaqueValue | string[], |
| 502 | ): MaybeForwardRefExpression | string[] { |
| 503 | return Array.isArray(predicate) |
| 504 | ? // The predicate is an array of strings so pass it through. |
| 505 | predicate |
| 506 | : // The predicate is a type - assume that we will need to unwrap any `forwardRef()` calls. |
| 507 | createMayBeForwardRefExpression(new WrappedNodeExpr(predicate), ForwardRefHandling.Wrapped); |
| 508 | } |
| 509 | |
| 510 | function convertDirectiveFacadeToMetadata(facade: R3DirectiveMetadataFacade): R3DirectiveMetadata { |
| 511 | const inputsFromMetadata = parseInputsArray(facade.inputs || []); |
no test coverage detected