We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f62ce24 commit 5c4af60Copy full SHA for 5c4af60
src/ExpoSpeechRecognitionModule.ts
@@ -6,3 +6,9 @@ import type { ExpoSpeechRecognitionModuleType } from "./ExpoSpeechRecognitionMod
6
// the bridge module (from NativeModulesProxy) if the remote debugger is on.
7
export const ExpoSpeechRecognitionModule =
8
requireNativeModule<ExpoSpeechRecognitionModuleType>("ExpoSpeechRecognition");
9
+
10
+const stop = ExpoSpeechRecognitionModule.stop;
11
+const abort = ExpoSpeechRecognitionModule.abort;
12
13
+ExpoSpeechRecognitionModule.abort = () => abort();
14
+ExpoSpeechRecognitionModule.stop = () => stop();
0 commit comments