Skip to content

Conversation

@clydin
Copy link
Member

@clydin clydin commented Jan 16, 2026

This commit refactors several Tree implementations (DelegateTree, HostTree, NullTree, ScopedTree) to support the TypeScript isolatedDeclarations compiler option. It uses declaration merging to define the [TreeSymbol] method on an interface and assigns it in the constructor to avoid TS9038 errors regarding computed property names inference.

@clydin clydin added the target: minor This PR is targeted for the next minor release label Jan 16, 2026
…for tree classes

This commit refactors several Tree implementations (`DelegateTree`, `HostTree`, `NullTree`, `ScopedTree`) to support the TypeScript `isolatedDeclarations` compiler option.
It uses declaration merging to define the `[TreeSymbol]` method on an interface and assigns it in the constructor to avoid TS9038 errors regarding computed property names inference.
@clydin clydin force-pushed the isolated-declarations-5 branch from d20da4b to 8e32605 Compare January 16, 2026 20:52
@clydin clydin force-pushed the isolated-declarations-5 branch from e6e8d56 to 8e32605 Compare January 17, 2026 00:01
@clydin clydin added the action: review The PR is still awaiting reviews from at least one requested reviewer label Jan 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

action: review The PR is still awaiting reviews from at least one requested reviewer area: @angular/cli area: @angular-devkit/schematics target: minor This PR is targeted for the next minor release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant