property 'id' does not exist on type 'object' code example
Example: Property 'users' does not exist on type 'UsersDTO[]'. 29 if (saveUser.users.length < 1) {
// for JSON:
const { value } = ctx.request.body({ type: "json" });
const { text } = await value;
// for FormData:
const { value } = ctx.request.body({ type: "form-data" });
const formData = await value.read();
const { text } = formData.fields;