react-native-test-app
Version:
react-native-test-app provides a test app for all supported platforms as a package
20 lines (18 loc) • 452 B
JavaScript
// @ts-check
/**
* @typedef {import("../types.mjs").ProjectInfo} ProjectInfo
* @typedef {Omit<ProjectInfo, "appJsonPath">} Internals
*/
/**
* @template Props
* @typedef {import("@expo/config-plugins").ConfigPlugin<Internals>} ConfigPlugin
*/
/** @type {ConfigPlugin<Internals>} */
export const withInternal = (config, internals) => {
config._internal = {
isDebug: false,
...config._internal,
...internals,
};
return config;
};