Growthackr Chrome Extension - v1.0.0
    Preparing search index...

    Interface SuccessResponse<T>

    Generic success response interface

    This interface is like a trophy for successful operations! It tells us whether the operation was a hit or a miss.

    interface SuccessResponse<T = unknown> {
        data?: T;
        success: true;
    }

    Type Parameters

    • T = unknown

      Type of the data returned

    Index

    Properties

    Properties

    data?: T

    Optional data returned by the operation

    success: true

    Whether the operation was successful