Skip to content
Closed

Fix CI #34291

Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
* @flow
*/

import typeof {
SyntheticEvent,
SyntheticPointerEvent,
} from 'react-dom-bindings/src/events/SyntheticEvent';
import type {Element, SuspenseNode} from '../../../frontend/types';
import type Store from '../../store';

Expand Down Expand Up @@ -126,7 +130,7 @@ export default function SuspenseTimeline(): React$Node {
});
}, [timeline, value]);

function handleChange(event: SyntheticEvent<HTMLInputElement>) {
function handleChange(event: SyntheticEvent) {
const pendingValue = +event.currentTarget.value;
for (let i = 0; i < timeline.length; i++) {
const forceFallback = i > pendingValue;
Expand Down Expand Up @@ -164,7 +168,7 @@ export default function SuspenseTimeline(): React$Node {
highlightHostInstance(suspense.id);
}

function handlePointerMove(event: SyntheticPointerEvent<HTMLInputElement>) {
function handlePointerMove(event: SyntheticPointerEvent) {
const bbox = inputBBox.current;
if (bbox === null) {
throw new Error('Bounding box of slider is unknown.');
Expand Down
Loading