View as Markdown

API reference: @salmonui/data-grid/engine/export-server

PlatformResponsetype

import type { PlatformResponse } from '@salmonui/data-grid/engine/export-server';
type PlatformResponse = typeof globalThis extends {
    Response: {
        prototype: infer R;
    };
} ? R : unknown;

The platform Response type where the consumer's environment declares one (DOM lib, @types/node).