title: error TS6133: 'functions' is declared but its value is never read
body: <p>This question may seem like a duplicate to <a href="https://stackoverflow.com/questions/57815268/src-index-ts11-error-ts6133-functions-is-declared-but-its-value-is-never">error TS6133</a> but in my case it seems like a  false positive error since I've used the variable in a method but it still complains.</p>
  <p><a href="https://i.stack.imgur.com/ANMiz.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ANMiz.png" alt="enter image description here" /></a></p>
  <p>In my Code I've used the variable as follows</p>
  <pre><code>import * as functions from &quot;firebase-functions&quot;;
  import * as admin from &quot;firebase-admin&quot;;
  import {DocumentReference, FieldValue, Timestamp}
    from &quot;@google-cloud/firestore&quot;;
  
  const app = admin.initializeApp();
  
  
  exports.onMessageCreate = functions.firestore
      .document( // method body goes here
          
  </code></pre>
  <p>I have modified the tsconfig.json as follows but still the compiler fails on deployment</p>
  <p><a href="https://i.stack.imgur.com/6I60S.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/6I60S.png" alt="enter image description here" /></a></p>