Skip to content

Commit

Permalink
chore: fixed the CI errors
Browse files Browse the repository at this point in the history
  • Loading branch information
anikethsaha committed Sep 15, 2019
1 parent 948b52a commit 552cab2
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
2 changes: 2 additions & 0 deletions packages/cli-types/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,8 @@ export interface Dependency {
hooks: {
prelink?: string;
postlink?: string;
preunlink?: string;
postunlink?: string;
};
params: InquirerPrompt[];
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
import chalk from 'chalk';
import {logger} from '@react-native-community/cli-tools';
import getLinkConfig from './index';
import {Config, AndroidPlatformConfig} from '@react-native-community/cli-types';
import {Config} from '@react-native-community/cli-types';

// TODO: move to cli-tools once platform-ios and platform-android are migrated
// to TS and unify with iOS implementation
export default function warnAboutManuallyLinkedLibs(
config: Config,
platform: string = 'android',
linkConfig: ReturnType<AndroidPlatformConfig['linkConfig']> = getLinkConfig(),
linkConfig: ReturnType<
Config['platforms']['android']['linkConfig']
> = getLinkConfig(),
) {
let deps: Array<string> = [];

Expand Down
6 changes: 4 additions & 2 deletions packages/platform-ios/src/link/warnAboutManuallyLinkedLibs.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
import chalk from 'chalk';
import {logger} from '@react-native-community/cli-tools';
import {Config, IOSPlatformConfig} from '@react-native-community/cli-types';
import {Config} from '@react-native-community/cli-types';
import getLinkConfig from './index';

// TODO: move to cli-tools once platform-ios and platform-android are migrated
// to TS and unify with Android implementation
export default function warnAboutManuallyLinkedLibs(
config: Config,
platform: string = 'ios',
linkConfig: ReturnType<IOSPlatformConfig['linkConfig']> = getLinkConfig(),
linkConfig: ReturnType<
Config['platforms']['ios']['linkConfig']
> = getLinkConfig(),
) {
let deps: Array<string> = [];

Expand Down

0 comments on commit 552cab2

Please sign in to comment.