this.uiServices
.get(version)
?.requestHandler(request)
- .then((protocolResponse: ProtocolResponse) => {
+ .then((protocolResponse?: ProtocolResponse) => {
if (!isNullOrUndefined(protocolResponse)) {
- this.sendResponse(protocolResponse);
+ this.sendResponse(protocolResponse!);
}
})
.catch(Constants.EMPTY_FUNCTION);