UNPKG

@open-tender/store

Version:

A library of hooks, reducers, utility functions, and types for use with Open Tender applications that utilize our in-store POS API

9 lines (8 loc) 283 B
import { Employee } from '@open-tender/types'; declare const useEmployee: (api: any) => { employee: Employee | null; error: string | null; fetch: (identifier: string | number, withPunches?: boolean) => Promise<void>; reset: () => void; }; export default useEmployee;