Skip to content

Commit

Permalink
fix event docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jackdotink committed Dec 30, 2023
1 parent 263519b commit 26589d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/usage/events.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const configFile = `event MyEvent = {
from: Server,
type: Reliable,
call: ManyAsync,
data: {
data: struct {
foo: string,
bar: u8,
},
Expand All @@ -13,7 +13,7 @@ event AnotherEvent = {
from: Client,
type: Reliable,
call: SingleAsync,
data: {
data: struct {
baz: boolean,
},
}`
Expand Down

0 comments on commit 26589d6

Please sign in to comment.