Skip to content

Commit c8cb47f

Browse files
authored
fix(types): metadata should be optional (#646)
## Problem This new field must be optional to not break other feature ## Solution update this to optional <!--- REMINDER: - Read CONTRIBUTING.md first. - Add test coverage for your changes. - Link to related issues/commits. - Testing: how did you test your changes? - Screenshots if applicable --> ## License By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
1 parent 6cd4403 commit c8cb47f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

types/chat.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,7 @@ export interface ButtonClickParams {
401401
tabId: string
402402
messageId: string
403403
buttonId: string
404-
metadata: Record<string, string>
404+
metadata?: Record<string, string>
405405
}
406406

407407
export interface ButtonClickResult {

0 commit comments

Comments
 (0)