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 angular#21981
  • Loading branch information
Splaktar committed Feb 28, 2021
1 parent 4517fdc commit 71e2a6d
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 71e2a6d

Please sign in to comment.