Remove var in RNTester (#22013)

Summary:
I removed `var` in RNTester.

- [x] npm run prettier
- [x] npm run flow-check-ios
- [x] npm run flow-check-android

[GENERAL] [ENHANCEMENT] [RNTester] - remove `var`
Pull Request resolved: https://github.com/facebook/react-native/pull/22013

Differential Revision: D12849927

Pulled By: TheSavior

fbshipit-source-id: 4a2fd11939bd8ae8604ef59512f532adc0a09eda
This commit is contained in:
nd-02110114
2018-10-30 16:29:22 -07:00
committed by Facebook Github Bot
parent ce860803a4
commit 811a99caab
7 changed files with 90 additions and 86 deletions

View File

@@ -16,7 +16,7 @@ const RNTesterExampleContainer = require('./RNTesterExampleContainer');
import type {ExampleModule} from 'ExampleTypes';
var createExamplePage = function(
const createExamplePage = function(
title: ?string,
exampleModule: ExampleModule,
): React.ComponentType<any> {