Cannot find module '__STATIC_CONTENT_MANIFEST' or its corresponding type declarations

I'm using Hono and I want to serve some static files with my Cloudflare worker. I followed the docs and added a worker-site bucket which is the place where my static files are stored, and my index.ts now looks like this:
import { Hono } from 'hono'
import { serveStatic } from 'hono/cloudflare-workers'
import manifest from '__STATIC_CONTENT_MANIFEST'

const app = new Hono()

app.get('/favicon.ico', serveStatic({ path: './static/favicon.ico', manifest }));

export default app;


However TypeScript says: Cannot find module '__STATIC_CONTENT_MANIFEST' or its corresponding type declarations. How to solve this issue?
Was this page helpful?