Answer the question
In order to leave comments, you need to log in
TS7016: Could not find a declaration file for module '../../../secret/firebaseConfig.js'. How can it be corrected?
Deploy the project to typescript. I connect the Firebase config.
The project does not compile due to an error
[tsl] ERROR in D:\DESKTOP\BSM\Repos\check-out-dev\src\components\api\api.ts(4,32)
TS7016: Could not find a declaration file for module '../../../secret/firebaseConfig.js'. 'D:\DESKTOP\BSM\Repos\check-out-dev\secret\firebaseConfig.js' implicitly has an 'any' type.
export const firebaseConfig = {
apiKey: 'хххх',
authDomain: 'ххххх.firebaseapp.com',
databaseURL: 'https://ххххххv.firebaseio.com',
projectId: 'ххххх',
storageBucket: 'хххххххххххх',
messagingSenderId: 'хххххххх',
appId: 'ххххххх',
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question