title: How to correctly declare a GraphQL query without parameters.
body: <p>I'm using vs code + <a href="https://www.npmjs.com/package/graphql-cli" rel="noreferrer">graphql-cli</a> for validating &amp; linting the schema. In the following declaration (in the graphql schema file):</p>
  
  <pre><code>type Query {
    users(): Int
  }
  </code></pre>
  
  <p>The <code>users</code> declaration above is marked as en error, but it doesn't make any problem (or warning) by the server - it's only vs code and <code>graphql lint</code> reporting it as an error:</p>
  
  <pre><code>2:9 Syntax Error: Expected Name, found )  undefined
  </code></pre>
  
  <p>If I add a parameter to the query, eg:</p>
  
  <pre><code>type Query {
    users(n: Int): Int
  }
  </code></pre>
  
  <p>then there is no problem reported by vs code or graphql-cli.
  How can I properly declare a graphql query without parameters.</p>