diff --git a/src/implementation/validation-parser.ts b/src/implementation/validation-parser.ts index 75a03fe7..7d100406 100644 --- a/src/implementation/validation-parser.ts +++ b/src/implementation/validation-parser.ts @@ -82,7 +82,8 @@ export class ValidationParser { } else { accessor = this.getAccessorExpression(property); } - if (accessor instanceof AccessMember && accessor.object instanceof AccessScope) { + if (accessor instanceof AccessScope + || accessor instanceof AccessMember && accessor.object instanceof AccessScope) { return { name: accessor.name, displayName: null