DylanVann / react-native-fast-image

🚩 FastImage, performant React Native image component.
MIT License
8.21k stars 1.51k forks source link

Typo in Flow type def in 8.6.0 #923

Closed short-dsb closed 2 years ago

short-dsb commented 2 years ago

Describe the bug Missing trailing comma on line 60.

To Reproduce

  1. flow
Error ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ node_modules/react-native-fast-image/dist/index.js.flow:62:5

Unexpected identifier, expected the token ,

     59│     source?: ?(FastImageSource | number),
     60│     defaultSource?: ?number
     61│
     62│     resizeMode?: ?ResizeModes,
     63│     fallback?: ?boolean,
     64│     testID?: ?string,
     65│ |}>

Expected behavior No errors!

Dependency versions

github-actions[bot] commented 2 years ago

:tada: This issue has been resolved in version 8.6.1 :tada:

The release is available on:

Your semantic-release bot :package::rocket: