Skip to content

Commit

Permalink
fix(spatial-filter): Generic type NestedTreeControl<T> requires 1 typ…
Browse files Browse the repository at this point in the history
…e argument
  • Loading branch information
mbarbeau committed Jan 26, 2021
1 parent 03f7bdc commit 79e2828
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 3 deletions.
36 changes: 34 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ export class SpatialFilterItemComponent implements OnDestroy, OnInit {
public selectedItemType: SpatialFilterItemType = SpatialFilterItemType.Address;
public selectedSourceAddress;

treeControl = new NestedTreeControl<SpatialFilterThematic>(node => node.children);
treeControl: NestedTreeControl<SpatialFilterThematic> = new NestedTreeControl<SpatialFilterThematic>(node => node.children);

// For thematics and results tables
public displayedColumns: string[] = ['name', 'select'];
Expand Down

0 comments on commit 79e2828

Please sign in to comment.