Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot use namespace 'xs' as a value.ts(2708) #32

Open
sjordan1975 opened this issue Jun 4, 2020 · 0 comments
Open

Cannot use namespace 'xs' as a value.ts(2708) #32

sjordan1975 opened this issue Jun 4, 2020 · 0 comments

Comments

@sjordan1975
Copy link

Example copied from the MarkLogic docs:
https://docs.marklogic.com/cts.elementWordQuery

cts.search(
    cts.elementWordQuery(
      xs.QName("function"),
      "MarkLogic Corporation"));

  => .. relevance-ordered sequence of documents
  with elements with QName 'function'
  and text content containing the phrase 'MarkLogic
  Corporation'.

Not sure why I'm getting TS error: Cannot use namespace 'xs' as a value.ts(2708)

(See screenshot)

xs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant