Skip to content

[docs-scanner] Syntax error in backend API code example #26138

Description

@docker-agent

File: content/manuals/extensions/extensions-sdk/dev/api/backend.md

Issue

The code example for the get method has a syntax error - missing closing parenthesis:

ddClient.extension.vm.service
 .get("/some/service")
 .then((value: any) => console.log(value)

Why this matters

Readers who copy this code example will get a syntax error. The missing closing parenthesis after console.log(value) makes this invalid TypeScript/JavaScript.

Suggested fix

Add the missing closing parenthesis:

ddClient.extension.vm.service
 .get("/some/service")
 .then((value: any) => console.log(value))

Found by nightly documentation quality scanner

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions