Skip to content

Commit

Permalink
Fix for #2716 - Missing type annotation for U.
Browse files Browse the repository at this point in the history
  • Loading branch information
himerus committed Jun 21, 2018
1 parent cc3f1a1 commit 2728e40
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Select.js
Original file line number Diff line number Diff line change
Expand Up @@ -1170,7 +1170,7 @@ export default class Select extends Component<Props, State> {
}

if (isMulti) {
return selectValue.map(opt => {
const selectValues: Array<any> = selectValue.map(opt => {
let isFocused = opt === focusedValue;
return (
<MultiValue
Expand All @@ -1196,6 +1196,7 @@ export default class Select extends Component<Props, State> {
</MultiValue>
);
});
return selectValues;
}

if (inputValue) {
Expand Down

0 comments on commit 2728e40

Please sign in to comment.