7 lines
222 B
TypeScript
7 lines
222 B
TypeScript
import { APIPathsParams, APIResponseObject } from "../types";
|
|
export default function apiCrudHandler<T extends {
|
|
[k: string]: any;
|
|
} = {
|
|
[k: string]: any;
|
|
}>(params: APIPathsParams<T>): Promise<APIResponseObject>;
|