Skip to content

Commit e9416ed

Browse files
committed
[hygiene] Fixes #216
1 parent b469744 commit e9416ed

File tree

1 file changed

+2
-2
lines changed
  • src/@types/synchronizers/synchronizer-ws-server-durable-object

1 file changed

+2
-2
lines changed

src/@types/synchronizers/synchronizer-ws-server-durable-object/docs.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@
154154
* export class MyDurableObject extends WsServerDurableObject {
155155
* onPathId(pathId, addedOrRemoved) {
156156
* console.info(
157-
* (addedOrRemoved ? 'Added' : 'Removed') + ` path ${pathId}`,
157+
* (addedOrRemoved == 1 ? 'Added' : 'Removed') + ` path ${pathId}`,
158158
* );
159159
* }
160160
* }
@@ -188,7 +188,7 @@
188188
* export class MyDurableObject extends WsServerDurableObject {
189189
* onClientId(pathId, clientId, addedOrRemoved) {
190190
* console.info(
191-
* (addedOrRemoved ? 'Added' : 'Removed') +
191+
* (addedOrRemoved == 1 ? 'Added' : 'Removed') +
192192
* ` client ${clientId} on path ${pathId}`,
193193
* );
194194
* }

0 commit comments

Comments
 (0)