Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 427 Bytes

File metadata and controls

19 lines (14 loc) · 427 Bytes

react-native-app-helpers/SyncPullResponse

The response to a request for an item during sync.

Usage

import type { SyncPullResponse } from "react-native-app-helpers";

const exampleWithNumberVersion: SyncPullResponse<`Example Data`> = {
  version: 1234,
  data: `Example Data`,
};

const exampleWithStringVersion: SyncPullResponse<`Example Data`> = {
  version: `Example Version`,
  data: `Example Data`,
};