From 86e4bc1e4e43b1e47b6aaf2ae5df60c316ace35d Mon Sep 17 00:00:00 2001 From: Matthew Brooks Date: Fri, 4 Sep 2020 14:40:37 +0900 Subject: [PATCH] fix(TypeScript): change type from string literal to string type (#268) --- src/VoiceModuleTypes.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/VoiceModuleTypes.ts b/src/VoiceModuleTypes.ts index c1cb01e5..8081d9be 100644 --- a/src/VoiceModuleTypes.ts +++ b/src/VoiceModuleTypes.ts @@ -41,7 +41,7 @@ export type SpeechResultsEvent = { export type SpeechErrorEvent = { error?: { - code?: 'string'; + code?: string; message?: string; }; };