Skip to content

Commit 79c2509

Browse files
committed
fix: restore compatibility with angular 6 and 7
1 parent 2d689e3 commit 79c2509

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package-lock.json

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

projects/angular-calendar/src/modules/common/keydown-enter.directive.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export class KeydownEnterDirective implements OnInit, OnDestroy {
2626
this.keydownListener = this.renderer.listen(
2727
this.host.nativeElement,
2828
'keydown',
29-
(event: KeyboardEvent) => {
29+
(event) => {
3030
if (
3131
event.keyCode === 13 ||
3232
event.which === 13 ||

0 commit comments

Comments
 (0)