"scrollTop" property is not defined in EventTarget
If you have this error in your TS code in a CustomAction component, use the following code:
TYPESCRIPT
(event.target as HTMLElement).scrollTop;
If you have this error in your TS code in a CustomAction component, use the following code:
(event.target as HTMLElement).scrollTop;