title: How to use `process.client` using TypeScript with Nuxt.js?
body: <pre><code>if (process.client) {
      // do something
  }
  </code></pre>
  
  <p>Getting error <code>Cannot find name 'process'. Do you need to install type definitions for node? Try npm i @types/node.</code> </p>
  
  <p><code>@types/node</code> is installed. </p>
  
  <p>It seems to be a recurrent error as other people have reported the bug on Github (ie. <a href="https://github.com/nuxt-community/typescript-template/issues/33" rel="nofollow noreferrer">https://github.com/nuxt-community/typescript-template/issues/33</a>). No one seems to have found a clean solution that works as of now. </p>
  
  <p>Anyone has an idea or managed to fix it?</p>