-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
Description
- error 1
[tsl] ERROR in src\scripts\components\Component.ts(43,36)
TS2684: The 'this' context of type '((event: FocusEvent) => void) | ((event: FocusEvent) => void) | ((event: Event) => void) | ((event: Event) => void) | ((event: UIEvent) => void) | ((event: AnimationEvent) => void) | ((event: AnimationEvent) => void) | ... 83 more ... | ((event: ClipboardEvent) => void)' is not assignable to method's 'this' of type '(this: this, event: FocusEvent) => void'.
Type '(event: AnimationEvent) => void' is not assignable to type '(this: this, event: FocusEvent) => void'.
Types of parameters 'event' and 'event' are incompatible.
Type 'FocusEvent' is missing the following properties from type 'AnimationEvent': animationName, elapsedTime, pseudoElement
- error 2
[tsl] ERROR in src\scripts\components\Component.ts(55,15)
TS2684: The 'this' context of type '((event: DelegateEvent<"close">) => void) | ((event: DelegateEvent<"focusin">) => void) | ((event: DelegateEvent<"focusin">) => void) | ((event: DelegateEvent<"close">) => void) | ... 77 more ... | ((event: DelegateEvent<...>) => void)' is not assignable to method's 'this' of type '(this: this, event: DelegateEvent<"focusin">) => void'.
Type '(event: DelegateEvent<"animationcancel">) => void' is not assignable to type '(this: this, event: DelegateEvent<"focusin">) => void'.
Types of parameters 'event' and 'event' are incompatible.
Type 'DelegateEvent<"focusin">' is not assignable to type 'DelegateEvent<"animationcancel">'.
Type 'DelegateEvent<"focusin">' is missing the following properties from type 'AnimationEvent': animationName, elapsedTime, pseudoElement
@JirkaVebr ideas?