From b7ca59f453b96ad5b837219953112fec13c68b66 Mon Sep 17 00:00:00 2001 From: Matt Pitts Date: Thu, 26 Aug 2021 15:39:08 -0700 Subject: [PATCH] fix (identity service): Update shape of outbound requests property In Angular strict mode, `private outboundRequests = {}` throws errors during compilation: ``` No index signature with a parameter of type 'string' was found on type '{}'. ``` Making the expected shape of the object explicit fixes the error. This service requires other updates as well to be compliant with strict mode, but this one is a bit tricky. --- src/app/identity.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/identity.service.ts b/src/app/identity.service.ts index ef2bacea8..db334e97a 100644 --- a/src/app/identity.service.ts +++ b/src/app/identity.service.ts @@ -11,7 +11,7 @@ export class IdentityService { private pendingRequests = []; // All outbound request promises we still need to resolve - private outboundRequests = {}; + private outboundRequests: {[key: string]: Subject} = {}; // The currently active identity window private identityWindow;