Skip to content

Commit 7de45c2

Browse files
Broccohansl
authored andcommitted
test: Add TreeSymbol to DelegateTree
1 parent 21d205e commit 7de45c2

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

packages/angular_devkit/schematics/src/tree/delegate.ts

+5
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ import {
1212
FileVisitor,
1313
MergeStrategy,
1414
Tree,
15+
TreeSymbol,
1516
UpdateRecorder,
1617
} from './interface';
1718

@@ -48,4 +49,8 @@ export class DelegateTree implements Tree {
4849
return this._other.apply(action, strategy);
4950
}
5051
get actions(): Action[] { return this._other.actions; }
52+
53+
[TreeSymbol]() {
54+
return this;
55+
}
5156
}

0 commit comments

Comments
 (0)