Skip to content

Commit 886395e

Browse files
committed
fix(args): fix shellCommand text
1 parent bb808f6 commit 886395e

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/NativeReactNativeShellTools.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ import { TurboModuleRegistry } from 'react-native';
33

44
export interface Spec extends TurboModule {
55
multiply(a: number, b: number): number;
6-
execAsyncCommand(shellCommon: string): Promise<string>;
7-
execCommand(shellCommon: string): string;
6+
execAsyncCommand(shellCommand: string): Promise<string>;
7+
execCommand(shellCommand: string): string;
88
}
99

1010
export default TurboModuleRegistry.getEnforcing<Spec>('ReactNativeShellTools');

src/index.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ export function multiply(a: number, b: number): number {
44
return ReactNativeShellTools.multiply(a, b);
55
}
66

7-
export function execCommand(shellCommon: string): String {
8-
return ReactNativeShellTools.execCommand(shellCommon);
7+
export function execCommand(shellCommand: string): String {
8+
return ReactNativeShellTools.execCommand(shellCommand);
99
}
1010

11-
export function execAsyncCommand(shellCommon: string): Promise<string> {
12-
return ReactNativeShellTools.execAsyncCommand(shellCommon);
11+
export function execAsyncCommand(shellCommand: string): Promise<string> {
12+
return ReactNativeShellTools.execAsyncCommand(shellCommand);
1313
}

0 commit comments

Comments
 (0)