UNPKG

759 BTypeScriptView Raw
1/**
2 * Copyright (c) Facebook, Inc. and its affiliates.
3 *
4 * This source code is licensed under the MIT license found in the
5 * LICENSE file in the root directory of this source tree.
6 *
7 */
8/**
9 * Creates the template for a React Native project given the provided
10 * parameters:
11 * @param projectDir Templates will be copied here.
12 * @param argsOrName Project name or full list of custom arguments
13 * for the generator.
14 * @param options Command line options passed from the react-native-cli directly.
15 * E.g. `{ version: '0.43.0', template: 'navigation' }`
16 */
17declare function initCompat(projectDir: string, argsOrName: string | string[]): Promise<void>;
18export default initCompat;
19//# sourceMappingURL=initCompat.d.ts.map
\No newline at end of file