Skip to content

Commit

Permalink
🐞 Fix: Types - RNIModalViewModule
Browse files Browse the repository at this point in the history
  • Loading branch information
dominicstop committed Apr 22, 2023
1 parent 1b52460 commit 0ef3a89
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/native_modules/RNIModalViewModule.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { NativeModules, NativeEventEmitter } from 'react-native';
import type { RNIModalViewInfo } from 'src/native_components/RNIModalView';
import type { RNIModalBaseEvent } from 'src/native_components/RNIModalView';

const MODULE_NAME = 'RNIModalViewModule';

Expand All @@ -26,12 +26,12 @@ interface RNIModalViewModule {
setModalVisibility(
node: number,
visibility: boolean
): Promise<RNIModalViewInfo>;
): Promise<RNIModalBaseEvent>;

// prettier-ignore
requestModalInfo(
node: number,
): Promise<RNIModalViewInfo>;
): Promise<RNIModalBaseEvent>;
}

export const RNIModalViewModule: RNIModalViewModule =
Expand Down

0 comments on commit 0ef3a89

Please sign in to comment.