Getting type error when trying to run the example code
here's the error:
Type '{ insertImage: FunctionReference<"mutation", "internal", { key: string; }, null, string | undefined>; }' has no properties in common with type 'R2Callbacks'.
for the code
const callbacks: R2Callbacks = internal.storage;