Skip to content

Commit 317aa7d

Browse files
committed
refactor(cdk/drag-drop): set generic for the CDK_DROP_LIST_GROUP token
cleanup related to angular/angular/pull/47461
1 parent df3a2e6 commit 317aa7d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/cdk/drag-drop/directives/drop-list-group.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,15 @@
66
* found in the LICENSE file at https://angular.dev/license
77
*/
88

9-
import {Directive, OnDestroy, Input, InjectionToken, booleanAttribute} from '@angular/core';
9+
import {Directive, InjectionToken, Input, OnDestroy, booleanAttribute} from '@angular/core';
10+
import type {CdkDropList} from './drop-list';
1011

1112
/**
1213
* Injection token that can be used to reference instances of `CdkDropListGroup`. It serves as
1314
* alternative token to the actual `CdkDropListGroup` class which could cause unnecessary
1415
* retention of the class and its directive metadata.
1516
*/
16-
export const CDK_DROP_LIST_GROUP = new InjectionToken<CdkDropListGroup<unknown>>(
17+
export const CDK_DROP_LIST_GROUP = new InjectionToken<CdkDropListGroup<CdkDropList>>(
1718
'CdkDropListGroup',
1819
);
1920

0 commit comments

Comments
 (0)