We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d3e1149 commit df4ee8cCopy full SHA for df4ee8c
packages/angular_devkit/core/src/json/schema/registry.ts
@@ -588,7 +588,9 @@ export class CoreSchemaRegistry implements SchemaRegistry {
588
compilationSchemInfo.promptDefinitions.push(definition);
589
590
return function(this: { promptFieldsWithValue: Set<string> }) {
591
- if (this) {
+ // If 'this' is undefined in the call, then it defaults to the global
592
+ // 'this'.
593
+ if (this && this.promptFieldsWithValue) {
594
this.promptFieldsWithValue.add(path);
595
}
596
0 commit comments