()
| 265 | }; |
| 266 | |
| 267 | const pipeDefs = () => { |
| 268 | if (ngDevMode) { |
| 269 | for (const rawDep of imports) { |
| 270 | verifyStandaloneImport(rawDep, type); |
| 271 | } |
| 272 | } |
| 273 | |
| 274 | if (!isComponent(type)) { |
| 275 | return []; |
| 276 | } |
| 277 | |
| 278 | const scope = depsTracker.getStandaloneComponentScope(type, imports); |
| 279 | |
| 280 | return [...scope.compilation.pipes].map((p) => getPipeDef(p)!).filter((d) => d !== null); |
| 281 | }; |
| 282 | |
| 283 | return { |
| 284 | directiveDefs, |
nothing calls this directly
no test coverage detected