Skip to content

Commit 4bc4ecd

Browse files
committed
🔧 fix: ws type
1 parent 85c28b3 commit 4bc4ecd

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

src/index.ts

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5387,7 +5387,17 @@ export default class Elysia<
53875387
const Macro extends Metadata['macro']
53885388
>(
53895389
path: Path,
5390-
options: WSLocalHook<LocalSchema, Schema, Decorator, Macro>
5390+
options: WSLocalHook<
5391+
LocalSchema,
5392+
Schema,
5393+
Singleton & {
5394+
derive: Ephemeral['derive'] & Volatile['derive']
5395+
resolve: Ephemeral['resolve'] &
5396+
Volatile['resolve'] &
5397+
MacroToContext<Metadata['macroFn'], Macro>
5398+
},
5399+
Macro
5400+
>
53915401
): Elysia<
53925402
BasePath,
53935403
Singleton,

0 commit comments

Comments
 (0)