We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8b73fc2 commit c82ad87Copy full SHA for c82ad87
packages/core/src/render3/def_getters.ts
@@ -50,6 +50,5 @@ export function getPipeDef<T>(type: any): PipeDef<T> | null {
50
*/
51
export function isStandalone(type: Type<unknown>): boolean {
52
const def = getComponentDef(type) || getDirectiveDef(type) || getPipeDef(type);
53
- // TODO: standalone as default value (invert the condition)
54
- return def !== null ? def.standalone : false;
+ return def !== null && def.standalone;
55
}
0 commit comments