(type: Type<any>, value: Object)
| 16 | import {RuntimeErrorCode} from '../errors'; |
| 17 | |
| 18 | export function invalidPipeArgumentError(type: Type<any>, value: Object) { |
| 19 | return new RuntimeError( |
| 20 | RuntimeErrorCode.INVALID_PIPE_ARGUMENT, |
| 21 | ngDevMode && `InvalidPipeArgument: '${value}' for pipe '${stringify(type)}'`, |
| 22 | ); |
| 23 | } |
| 24 | |
| 25 | export function warnIfSignal(pipeName: string, value: unknown): void { |
| 26 | if (isSignal(value)) { |
no test coverage detected
searching dependent graphs…