Skip to content

Commit 418c1a5

Browse files
authored
sync 'receiveString()' in hint with toobox template (#6161)
1 parent decc313 commit 418c1a5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/projects/spy/micro-chat.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ radio.setGroup(1)
4747
input.onButtonPressed(Button.A, function() {
4848
radio.sendString("Micro Chat!")
4949
})
50-
radio.onReceivedString(function (receivedString) {
50+
radio.onReceivedString(function(receivedString: string) {
5151
})
5252
```
5353

@@ -60,7 +60,7 @@ radio.setGroup(1)
6060
input.onButtonPressed(Button.A, function() {
6161
radio.sendString("Micro Chat!")
6262
})
63-
radio.onReceivedString(function (receivedString) {
63+
radio.onReceivedString(function(receivedString: string) {
6464
// @highlight
6565
basic.showString(receivedString)
6666
})

0 commit comments

Comments
 (0)