This question may seem like a duplicate to error TS6133 but in my case it seems like a false positive error since I've used the variable in a method but it still complains.
In my Code I've used the variable as follows
import * as functions from "firebase-functions";
import * as admin from "firebase-admin";
import {DocumentReference, FieldValue, Timestamp}
from "@google-cloud/firestore";
const app = admin.initializeApp();
exports.onMessageCreate = functions.firestore
.document( // method body goes here
I have modified the tsconfig.json as follows but still the compiler fails on deployment