We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b469744 commit e9416edCopy full SHA for e9416ed
src/@types/synchronizers/synchronizer-ws-server-durable-object/docs.js
@@ -154,7 +154,7 @@
154
* export class MyDurableObject extends WsServerDurableObject {
155
* onPathId(pathId, addedOrRemoved) {
156
* console.info(
157
- * (addedOrRemoved ? 'Added' : 'Removed') + ` path ${pathId}`,
+ * (addedOrRemoved == 1 ? 'Added' : 'Removed') + ` path ${pathId}`,
158
* );
159
* }
160
@@ -188,7 +188,7 @@
188
189
* onClientId(pathId, clientId, addedOrRemoved) {
190
191
- * (addedOrRemoved ? 'Added' : 'Removed') +
+ * (addedOrRemoved == 1 ? 'Added' : 'Removed') +
192
* ` client ${clientId} on path ${pathId}`,
193
194
0 commit comments