We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb91909 commit b9ab587Copy full SHA for b9ab587
1 file changed
packages/network-controller/src/rpc-service/rpc-service.ts
@@ -456,7 +456,7 @@ export class RpcService implements AbstractRpcService {
456
// (slow-success case from service policy). FailureReason has { error } or { value }.
457
const duration =
458
data !== undefined && hasProperty(data, 'duration')
459
- ? data.duration
+ ? (data.duration as number)
460
: undefined;
461
// For retries-exhausted, data is FailureReason (has error/value).
462
// For slow-success, data is { duration } — we don't spread it.
0 commit comments