( types: Type<any>[] | (() => Type<any>[]) | undefined | null, mapFn: (type: Type<any>) => PipeDef<any> | DirectiveDef<any>, )
| 233 | mapFn: (type: Type<any>) => PipeDef<any>, |
| 234 | ): PipeDefList | null; |
| 235 | function toDefs( |
| 236 | types: Type<any>[] | (() => Type<any>[]) | undefined | null, |
| 237 | mapFn: (type: Type<any>) => PipeDef<any> | DirectiveDef<any>, |
| 238 | ): any { |
| 239 | if (!types) return null; |
| 240 | if (typeof types == 'function') { |
| 241 | types = types(); |
| 242 | } |
| 243 | return types.map(mapFn); |
| 244 | } |
| 245 | |
| 246 | function toHtml(element: Element, keepNgReflect = false): string { |
| 247 | if (element) { |
no test coverage detected
searching dependent graphs…