diff --git a/code/frameworks/angular/src/client/angular-beta/utils/PropertyExtractor.ts b/code/frameworks/angular/src/client/angular-beta/utils/PropertyExtractor.ts index afb587c251d..81b2b6f1e34 100644 --- a/code/frameworks/angular/src/client/angular-beta/utils/PropertyExtractor.ts +++ b/code/frameworks/angular/src/client/angular-beta/utils/PropertyExtractor.ts @@ -189,7 +189,7 @@ export class PropertyExtractor implements NgModuleMetadata { //Starting in Angular 19 the default (in case it's undefined) value for standalone is true if (isStandalone === undefined) { - isStandalone = VERSION.major && Number(VERSION.major) >= 19; + isStandalone = !!(VERSION.major && Number(VERSION.major) >= 19); } return { isDeclarable, isStandalone };