Update user with additional fields

I've defined additional fields on my User struct

    additionalFields: {
      description: {
        type: "string",
        required: false,
      },
      status: {
        type: "string",
        required: true,
        input: false,
      },
...


but then when I try to programmatically create a user, eg

await auth.api.updateUser({
          body: {
            name: "John",
            status: "someStatus",
 ...
          }
        });


it doesn't typecheck properly, is there something I have to do?
Was this page helpful?