Skip to content

Commit

Permalink
Add widget callback client argument
Browse files Browse the repository at this point in the history
  • Loading branch information
kuba-orlik committed Aug 9, 2024
1 parent 77f8feb commit f6e3299
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ type EmbedCallback = (context: {
client: Client
}) => Promise<string>

type WidgetCallback = () => Promise<string>
type WidgetCallback = (context: { client: Client }) => Promise<string>

interface MCEvent {
readonly name?: string
Expand Down

0 comments on commit f6e3299

Please sign in to comment.