diff --git a/languages/markdown/templates/codeblocks/subscriber.md b/languages/markdown/templates/codeblocks/subscriber.md index ccd6a959..8da61e53 100644 --- a/languages/markdown/templates/codeblocks/subscriber.md +++ b/languages/markdown/templates/codeblocks/subscriber.md @@ -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 ``` -${end.if.javascript} - ${event.params} Promise resolution: