Closed
Description
firebase --version
3.18.4
"firebase-admin": "^5.12.0",
"firebase-functions": "^1.0.2",
"firebase-tools": "^3.18.4",
tsc --version
Version 2.8.3
In my firebase project I have a file with following import;
file.ts
import admin from "firebase-admin";
// rest of the code
Once I run tsc
I am getting following error:
- Starting compilation in watch mode...
functions/file.ts(1,8): error TS1192: Module '"/node_modules/firebase-admin/lib/index"' has no default export.
Is there any way to avoid the error?
Metadata
Metadata
Assignees
Labels
No labels