Error on the `wrangler/templates/middleware` directory
What is happening? I'm getting all this errors in the wrangler/templates/middleware and couldn't find any solution in the docs.

facadeEvent// Inside the "__facade__originalAddEventListener__('scheduled', (event) => {...})" function
const facadeEvent = new __Facade_ScheduledEvent__("scheduled", {
scheduledTime: event.scheduledTime,
cron: event.cron,
noRetry: event.noRetry.bind(event),
});
__FACADE_EVENT_TARGET__.dispatchEvent(facadeEvent);
// Check if there are any promises to wait until completion
if (Array.isArray(facadeEvent[__facade_waitUntil__]) && facadeEvent[__facade_waitUntil__].length > 0) {
event.waitUntil(Promise.all(facadeEvent[__facade_waitUntil__]));
}