alpha-version-dce-check-in-ui
Version:
UI for taking attendance and checking people in.
13 lines (12 loc) • 311 B
TypeScript
/**
* Type describing a function for visiting server endpoints.
* @author Benedikt Arnarsson
*/
type VisitServerEndpoint = (opts: {
path: string;
method?: ('GET' | 'POST' | 'DELETE' | 'PUT');
params?: {
[key in string]: any;
};
}) => Promise<any>;
export default VisitServerEndpoint;