File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1- import type { Serve as BunServe , Server as BunServer } from 'bun'
1+ import { Serve as BunServe , type Server as BunServer } from 'bun'
22import type { IsAny , MaybePromise } from '../types'
33
44export interface ErrorLike extends Error {
@@ -122,8 +122,8 @@ export interface ServeOptions extends GenericServeOptions {
122122 >
123123}
124124
125- export type Serve = IsAny < BunServe > extends false ? BunServe : ServeOptions
126- export type Server = IsAny < BunServer > extends false ? BunServer : ServerOptions
125+ export type Serve = IsAny < BunServe . Options < unknown > > extends false ? BunServe . Options < unknown > : ServeOptions
126+ export type Server = IsAny < BunServer < unknown > > extends false ? BunServer < unknown > : ServerOptions
127127
128128export type ServerWebSocketSendStatus = number
129129
You can’t perform that action at this time.
0 commit comments