Commit 784c4fd
fix: correct type annotations for payment method promises
Promise type should include null for both the resolved value
(.catch(() => null)) and the ternary false branch (null).
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 56c959e commit 784c4fd
1 file changed
Lines changed: 10 additions & 9 deletions
Lines changed: 10 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
81 | 82 | | |
82 | | - | |
| 83 | + | |
83 | 84 | | |
84 | 85 | | |
85 | 86 | | |
| |||
0 commit comments