Type alias PagesPluginFunction<Env, Params, Data, PluginArgs>

PagesPluginFunction<Env, Params, Data, PluginArgs>: ((context) => Response | Promise<Response>)

Type Parameters

  • Env = unknown
  • Params extends string = any
  • Data extends Record<string, unknown> = Record<string, unknown>
  • PluginArgs = unknown

Type declaration