Skip to content

Commit

Permalink
fix: Remove unused ${if.javascript} tag from subscriber.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jlacivita committed May 19, 2023
1 parent becca4c commit 84ab9db
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions languages/markdown/templates/codeblocks/subscriber.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
To subscribe to notifications when the value changes, call the method like this:

${if.javascript}

```typescript
function ${method.alternative}(${event.signature.params}${if.context}, ${end.if.context}callback: (value) => ${method.result.type}): Promise<number>
```

${end.if.javascript}

${event.params}

Promise resolution:
Expand Down

0 comments on commit 84ab9db

Please sign in to comment.