Skip to content

Commit

Permalink
Update to flow 0.53
Browse files Browse the repository at this point in the history
  • Loading branch information
SimenB committed Aug 25, 2017
1 parent 2c16c44 commit 6558ccb
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .flowconfig
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ module.name_mapper='^types/\(.*\)$' -> '<PROJECT_ROOT>/types/\1.js'
module.name_mapper='\(jest-[^/]*\)' -> '<PROJECT_ROOT>/packages/\1/src/index.js'

[version]
^0.52.0
^0.53.1
2 changes: 1 addition & 1 deletion examples/react-native/Intro.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const styles = StyleSheet.create({
},
});

export default class Intro extends Component {
export default class Intro extends Component<{}> {
render() {
return (
<View style={styles.container}>
Expand Down
2 changes: 1 addition & 1 deletion examples/react-native/index.android.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import Intro from './Intro';
import React, {AppRegistry} from 'react-native';
import {Component} from 'react';

class App extends Component {
class App extends Component<{}> {
render() {
return <Intro />;
}
Expand Down
2 changes: 1 addition & 1 deletion examples/react-native/index.ios.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import Intro from './Intro';
import React, {Component} from 'react';
import {AppRegistry} from 'react-native';

class App extends Component {
class App extends Component<{}> {
render() {
return <Intro />;
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"eslint-plugin-react": "^7.1.0",
"eslint-plugin-relay": "0.0.8",
"eslint-plugin-unicorn": "^2.1.2",
"flow-bin": "^0.52.0",
"flow-bin": "^0.53.1",
"glob": "^7.1.1",
"graceful-fs": "^4.1.11",
"immutable": "^4.0.0-rc.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/pretty-format/src/__tests__/immutable.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

'use strict';

import React from 'react';
import * as React from 'react';
import Immutable from 'immutable';
import prettyFormat from '../';
const {Immutable: ImmutablePlugin, ReactElement} = prettyFormat.plugins;
Expand Down
2 changes: 1 addition & 1 deletion packages/pretty-format/src/plugins/react_element.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ const getType = element => {
};

export const serialize = (
element: React$Element<*>,
element: React$Element<any>,
config: Config,
indentation: string,
depth: number,
Expand Down
6 changes: 3 additions & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2763,9 +2763,9 @@ flat-cache@^1.2.1:
graceful-fs "^4.1.2"
write "^0.2.1"

flow-bin@^0.52.0:
version "0.52.0"
resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.52.0.tgz#b6d9abe8bcd1ee5c62df386451a4e2553cadc3a3"
flow-bin@^0.53.1:
version "0.53.1"
resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.53.1.tgz#9b22b63a23c99763ae533ebbab07f88c88c97d84"

flow-remove-types@^1.1.0:
version "1.2.1"
Expand Down

0 comments on commit 6558ccb

Please sign in to comment.