Skip to content

Commit 0fa299e

Browse files
committed
Changed to more precise type
1 parent 574ae1c commit 0fa299e

File tree

1 file changed

+2
-2
lines changed
  • src/bundle/Resources/public/ts/components

1 file changed

+2
-2
lines changed

src/bundle/Resources/public/ts/components/chip.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
import { Base } from '../partials';
22

33
interface ChipConfig {
4-
onDelete?: (event: Event) => void;
4+
onDelete?: (event: MouseEvent) => void;
55
}
66

77
export default class Chip extends Base {
88
private deleteButton: HTMLButtonElement | null;
9-
private onDelete?: (event: Event) => void;
9+
private onDelete?: (event: MouseEvent) => void;
1010

1111
constructor(container: HTMLDivElement, config: ChipConfig = {}) {
1212
super(container);

0 commit comments

Comments
 (0)