Skip to content

Commit 49330bb

Browse files
committed
fix(cdk/tree): formatting
1 parent 93a959b commit 49330bb

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/cdk/tree/tree.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ export class CdkTree<T, K = T>
299299
* Accepts a function that takes two parameters, `index` and `item`.
300300
*/
301301
@Input()
302-
get trackBy(): TrackByFunction<T>|undefined {
302+
get trackBy(): TrackByFunction<T> | undefined {
303303
return this._trackBy();
304304
}
305305
set trackBy(trackBy: TrackByFunction<T>) {
@@ -310,16 +310,16 @@ export class CdkTree<T, K = T>
310310
* Given a data node, determines the key by which we determine whether or not this node is expanded.
311311
*/
312312
@Input()
313-
get expansionKey(): ((dataNode: T) => K)|undefined {
313+
get expansionKey(): ((dataNode: T) => K) | undefined {
314314
return this._expansionKey();
315315
}
316316
set expansionKey(expansionKey: (dataNode: T) => K) {
317317
this._expansionKey.set(expansionKey);
318318
}
319319

320-
private readonly _trackBy = signal<TrackByFunction<T>|undefined>(undefined);
320+
private readonly _trackBy = signal<TrackByFunction<T> | undefined>(undefined);
321321

322-
private readonly _expansionKey = signal<((dataNode: T) => K)|undefined>(undefined);
322+
private readonly _expansionKey = signal<((dataNode: T) => K) | undefined>(undefined);
323323

324324
// Outlets within the tree's template where the dataNodes will be inserted.
325325
@ViewChild(CdkTreeNodeOutlet, {static: true}) _nodeOutlet: CdkTreeNodeOutlet;

0 commit comments

Comments
 (0)