Update watcher function. Add tests
This commit is contained in:
+5
-1
@@ -50,7 +50,11 @@ export type BunextConfig = {
|
||||
development?: boolean;
|
||||
middleware?: (
|
||||
params: BunextConfigMiddlewareParams,
|
||||
) => Promise<Response | undefined> | Response | undefined;
|
||||
) =>
|
||||
| Promise<Response | Request | undefined>
|
||||
| Response
|
||||
| Request
|
||||
| undefined;
|
||||
defaultCacheExpiry?: number;
|
||||
websocket?: WebSocketHandler<any>;
|
||||
serverOptions?: ServeOptions;
|
||||
|
||||
Reference in New Issue
Block a user