<commit_before>/**
 * Copyright 2017-present, Callstack.
 * All rights reserved.
 * 
 * makeReactNativeConfig.js
 */
const webpack = require("webpack");
const HappyPack = require("happypack");
const path = require("path");
const findProvidesModule = require("./findProvidesModule");

const PLATFORMS = ["ios", "android"];

type ConfigOptions = {
  port: number,
  platform: "ios" | "android",
  dev: boolean
};

// @todo type this
type WebpackConfig = {};
type DefaultWebpackConfig = {};

type WebpackConfigFactory =
  | ((ConfigOptions, DefaultWebpackConfig) => WebpackConfig)
  | WebpackConfig;<commit_msg>Fix one more issue with flow<commit_after>/**
 * Copyright 2017-present, Callstack.
 * All rights reserved.
 * 
 * makeReactNativeConfig.js
 */
const webpack = require("webpack");
const HappyPack = require("happypack");
const path = require("path");
const findProvidesModule = require("./findProvidesModule");

const PLATFORMS = ["ios", "android"];

type ConfigOptions = {
  port: number,
  platform: "ios" | "android",
  dev: boolean
};

// @todo type this
type WebpackConfig;

type WebpackConfigFactory =
  | ((ConfigOptions, DefaultWebpackConfig) => WebpackConfig)
  | WebpackConfig;
{'fraction_non_alphanumeric': 0.14154103852596314, 'fraction_numerical': 0.006700167504187605, 'mean_word_length': 5.096938775510204, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4535046', 'n_tokens_mistral': 369, 'n_tokens_neox': 357, 'n_words': 94}