Skip to content

Commit

Permalink
Flow Strict in babelPresets.js
Browse files Browse the repository at this point in the history
Differential Revision: D16794772

fbshipit-source-id: b5674c7feabfb8d6f8e26ee2f86740b6aa04d736
  • Loading branch information
Shaoyang Yan authored and facebook-github-bot committed Aug 13, 2019
1 parent bee4fa2 commit 99e9cdc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions babelPresets.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @format
* @format strict-local
*/
'use strict';

let moduleMap = Object.assign(
const moduleMap = Object.assign(
{},
require('fbjs/module-map'),
require('fbjs-scripts/third-party-module-map'),
Expand All @@ -18,7 +18,7 @@ let moduleMap = Object.assign(
// Depends on https://github.com/facebookincubator/fbt/issues/40
module.exports = function babelPresets(opts) {
opts = opts || {};
let plugins = [
const plugins = [
require('@babel/plugin-syntax-class-properties'),
require('@babel/plugin-syntax-flow'),
require('@babel/plugin-syntax-jsx'),
Expand Down

0 comments on commit 99e9cdc

Please sign in to comment.