Commit fad7fab
fix(nextcloud-talk): access sanitizeText on flattened outbound adapter
createChatChannelPlugin resolves the { base, attachedResults } outbound shape
into a flat ChannelOutboundAdapter (resolveChatChannelOutbound spreads base to
the top level), so the test must read outbound.sanitizeText directly, not
outbound.base.sanitizeText. The previous access failed check-test-types with
TS2339 (Property 'base' does not exist on type 'ChannelOutboundAdapter').
Co-Authored-By: Claude <[email protected]>1 parent ac33ea8 commit fad7fab
1 file changed
Lines changed: 1 addition & 2 deletions
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | | - | |
| 8 | + | |
10 | 9 | | |
11 | 10 | | |
12 | 11 | | |
| |||
0 commit comments