Skip to content

Commit a157a9b

Browse files
committed
fix(directive): type
1 parent 7fb7c18 commit a157a9b

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

angular.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,5 +168,8 @@
168168
"@schematics/angular:resolver": {
169169
"typeSeparator": "."
170170
}
171+
},
172+
"cli": {
173+
"analytics": false
171174
}
172175
}

projects/ngx-href/src/lib/href.directive.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export class NgxHrefDirective implements OnDestroy {
3232
$target = signal<string>('')
3333
$href = signal<string | null>('')
3434

35-
@HostListener('click', ['$event']) onClick(event: PointerEvent) {
35+
@HostListener('click', ['$event']) onClick(event: Event) {
3636
if (!this.$href() || !this._routeOnClick) return
3737

3838
event.preventDefault()

0 commit comments

Comments
 (0)