Skip to content

Reuse types for RequestHistoryInfo #168

@matteo8p

Description

@matteo8p

Issue

We created an object type called RequestHistoryInfo. However, it's not really being used anywhere. We want to use RequestHistoryInfo where applicable.

How to fix it

  1. The RequestHistoryInfo type is in types.ts. See this line of code.
  2. There are four places where this type could be used:
  3. All you have to do is replace instances of
{
    request: string;
    response?: string;
    timestamp: string;
    latency?: number;
}

with RequestHistoryInfo type.

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueGood for newcomersvery easyTasks that are best for absolute beginners. You don't even need to be a programmer to take this on.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions