Skip to content

Commit 43ec7e6

Browse files
committed
fix(cdk/schematics): generate code that works in strict CLI projects
- fix tslint error from default CLI settings Relates to #21981
1 parent d6640b1 commit 43ec7e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cdk/schematics/ng-generate/drag-drop/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export class <%= classify(name) %>Component {
3030
'Walk dog'
3131
];
3232

33-
drop(event: CdkDragDrop<string[]>) {
33+
drop(event: CdkDragDrop<string[]>): void {
3434
if (event.previousContainer === event.container) {
3535
moveItemInArray(event.container.data, event.previousIndex, event.currentIndex);
3636
} else {

0 commit comments

Comments
 (0)