Skip to content

Commit aae4111

Browse files
authored
fix(handler.md): class Logger syntax error (#579)
1 parent 06fba9b commit aae4111

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/essential/handler.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -565,7 +565,7 @@ Elysia registers state values into the store automatically without explicit type
565565
import { Elysia } from 'elysia'
566566

567567
class Logger {
568-
log(value: string) {
568+
static log(value: string) {
569569
console.log(value)
570570
}
571571
}

0 commit comments

Comments
 (0)