Im getting errors while im trying to compiling with this module with angular
ERROR in ./node_modules/api-ai-javascript/declarations.d.ts (9,5): Subsequent variable declarations must have the same type. Variable 'speechSynthesis' must be of type 'SpeechSynthesis', but here has type 'any'.
ERROR in ./node_modules/api-ai-javascript/declarations.d.ts (9,5): All declarations of 'speechSynthesis' must have identical modifiers.
ERROR in ./node_modules/api-ai-javascript/ts/XhrRequest.ts (105,19): Cannot find name 'ActiveXObject'.
ERROR in ./node_modules/api-ai-javascript/ts/XhrRequest.ts (106,19): Cannot find name 'ActiveXObject'.
ERROR in ./node_modules/api-ai-javascript/ts/XhrRequest.ts (107,19): Cannot find name 'ActiveXObject'.
ERROR in ./node_modules/api-ai-javascript/ts/Request/TTSRequest.ts (18,37): Property 'AudioContext' does not exist on type 'Window'.
ERROR in ./node_modules/api-ai-javascript/ts/Request/TTSRequest.ts (18,53): Cannot find name 'webkitAudioContext'.
ERROR in ./node_modules/api-ai-javascript/ts/Stream/Processors.ts (7,16): Property 'AudioContext' does not exist on type 'Window'.
ERROR in ./node_modules/api-ai-javascript/ts/Stream/Processors.ts (7,38): Property 'AudioContext' does not exist on type 'Window'.
ERROR in ./node_modules/api-ai-javascript/ts/Stream/Processors.ts (7,54): Cannot find name 'webkitAudioContext'.
ERROR in ./node_modules/api-ai-javascript/ts/Stream/StreamClient.ts (60,20): Property 'AudioContext' does not exist on type 'Window'.
ERROR in ./node_modules/api-ai-javascript/ts/Stream/StreamClient.ts (60,42): Property 'AudioContext' does not exist on type 'Window'.
ERROR in ./node_modules/api-ai-javascript/ts/Stream/StreamClient.ts (60,58): Cannot find name 'webkitAudioContext'.
ERROR in ./node_modules/api-ai-javascript/ts/Stream/StreamClient.ts (62,53): Property 'webkitGetUserMedia' does not exist on type 'Navigator'.
ERROR in ./node_modules/api-ai-javascript/ts/Stream/StreamClient.ts (62,85): Property 'mozGetUserMedia' does not exist on type 'Navigator'.
Im getting errors while im trying to compiling with this module with angular
ERROR in ./node_modules/api-ai-javascript/declarations.d.ts (9,5): Subsequent variable declarations must have the same type. Variable 'speechSynthesis' must be of type 'SpeechSynthesis', but here has type 'any'.
ERROR in ./node_modules/api-ai-javascript/declarations.d.ts (9,5): All declarations of 'speechSynthesis' must have identical modifiers.
ERROR in ./node_modules/api-ai-javascript/ts/XhrRequest.ts (105,19): Cannot find name 'ActiveXObject'.
ERROR in ./node_modules/api-ai-javascript/ts/XhrRequest.ts (106,19): Cannot find name 'ActiveXObject'.
ERROR in ./node_modules/api-ai-javascript/ts/XhrRequest.ts (107,19): Cannot find name 'ActiveXObject'.
ERROR in ./node_modules/api-ai-javascript/ts/Request/TTSRequest.ts (18,37): Property 'AudioContext' does not exist on type 'Window'.
ERROR in ./node_modules/api-ai-javascript/ts/Request/TTSRequest.ts (18,53): Cannot find name 'webkitAudioContext'.
ERROR in ./node_modules/api-ai-javascript/ts/Stream/Processors.ts (7,16): Property 'AudioContext' does not exist on type 'Window'.
ERROR in ./node_modules/api-ai-javascript/ts/Stream/Processors.ts (7,38): Property 'AudioContext' does not exist on type 'Window'.
ERROR in ./node_modules/api-ai-javascript/ts/Stream/Processors.ts (7,54): Cannot find name 'webkitAudioContext'.
ERROR in ./node_modules/api-ai-javascript/ts/Stream/StreamClient.ts (60,20): Property 'AudioContext' does not exist on type 'Window'.
ERROR in ./node_modules/api-ai-javascript/ts/Stream/StreamClient.ts (60,42): Property 'AudioContext' does not exist on type 'Window'.
ERROR in ./node_modules/api-ai-javascript/ts/Stream/StreamClient.ts (60,58): Cannot find name 'webkitAudioContext'.
ERROR in ./node_modules/api-ai-javascript/ts/Stream/StreamClient.ts (62,53): Property 'webkitGetUserMedia' does not exist on type 'Navigator'.
ERROR in ./node_modules/api-ai-javascript/ts/Stream/StreamClient.ts (62,85): Property 'mozGetUserMedia' does not exist on type 'Navigator'.