IFClite TypeScript API
    Preparing search index...

    Type Alias V1HostRequest

    V1HostRequest: {
        [T in RequestType]: RequestPayloads[T] extends undefined
            ? {
                id: RequestId;
                payload?: undefined;
                target: typeof VIEWER_TAG;
                type: T;
            }
            : {
                id: RequestId;
                payload: RequestPayloads[T];
                target: typeof VIEWER_TAG;
                type: T;
            }
    }[RequestType]