Skip to content

Commit

Permalink
fix(cdk/schematics): generate code that works in strict CLI projects
Browse files Browse the repository at this point in the history
- fix tslint error from default CLI settings

Relates to #21981
  • Loading branch information
Splaktar committed Mar 1, 2021
1 parent d6640b1 commit 43ec7e6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export class <%= classify(name) %>Component {
'Walk dog'
];

drop(event: CdkDragDrop<string[]>) {
drop(event: CdkDragDrop<string[]>): void {
if (event.previousContainer === event.container) {
moveItemInArray(event.container.data, event.previousIndex, event.currentIndex);
} else {
Expand Down

0 comments on commit 43ec7e6

Please sign in to comment.