Help me figure out supabase-js v2 realtime with Typescript

I'm trying to follow the examples in the docs on how to set up realtime with V2. My eslint config disallows the use of the any type. What is the type of the payload arg in the example below?

supabase
  .channel("*")
  .on("postgres_changes", { event: "*", schema: "*" }, payload =>
  {
    console.log("Change received!", payload);
  })
  .subscribe();
Was this page helpful?