()
| 245 | pipeDefs: () => PipeDefList; |
| 246 | } { |
| 247 | const directiveDefs = () => { |
| 248 | if (ngDevMode) { |
| 249 | for (const rawDep of imports) { |
| 250 | verifyStandaloneImport(rawDep, type); |
| 251 | } |
| 252 | } |
| 253 | |
| 254 | if (!isComponent(type)) { |
| 255 | return []; |
| 256 | } |
| 257 | |
| 258 | const scope = depsTracker.getStandaloneComponentScope(type, imports); |
| 259 | |
| 260 | return [...scope.compilation.directives] |
| 261 | .map((p) => (getComponentDef(p) || getDirectiveDef(p))!) |
| 262 | .filter((d) => d !== null); |
| 263 | }; |
| 264 | |
| 265 | const pipeDefs = () => { |
| 266 | if (ngDevMode) { |
nothing calls this directly
no test coverage detected