Skip to content

Commit ba44753

Browse files
David Narbutovich(g)DylanVann
David Narbutovich(g)
authored andcommitted
Fix flow types (DylanVann#320)
1 parent 8f702ed commit ba44753

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/index.js.flow

+2-2
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,10 @@ export type FastImageSource = {
5151
export type FastImageProps = $ReadOnly<{|
5252
...ViewProps,
5353
onError?: ?() => void,
54-
onLoad?: ?(event?: OnLoadEvent) => void,
54+
onLoad?: ?(event: OnLoadEvent) => void,
5555
onLoadEnd?: ?() => void,
5656
onLoadStart?: ?() => void,
57-
onProgress?: ?(event?: OnProgressEvent) => void,
57+
onProgress?: ?(event: OnProgressEvent) => void,
5858

5959
source: FastImageSource | number,
6060

0 commit comments

Comments
 (0)