UNPKG

1.01 kBTypeScriptView 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 */
8import { Config } from '@react-native-community/cli-types';
9declare type FlagsType = {
10 platforms?: Array<string>;
11 all?: boolean;
12};
13/**
14 * Updates project and links all dependencies to it.
15 *
16 * @param args If optional argument [packageName] is provided,
17 * only that package is processed.
18 */
19declare function link([rawPackageName]: Array<string>, ctx: Config, opts: FlagsType): Promise<void>;
20export declare const func: typeof link;
21declare const _default: {
22 func: typeof link;
23 description: string;
24 name: string;
25 options: ({
26 name: string;
27 description: string;
28 parse: (val: string) => string[];
29 } | {
30 name: string;
31 description: string;
32 parse?: undefined;
33 })[];
34};
35export default _default;
36//# sourceMappingURL=link.d.ts.map
\No newline at end of file