-
Notifications
You must be signed in to change notification settings - Fork 900
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Interface 'FirebaseServerAppSettings' incorrectly extends interface 'FirebaseAppSettings' when "exactOptionalPropertyTypes": true is enabled #8227
Comments
I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight. |
Hi @dckz74, I was not able to reproduce the issue. I attempted to reproduce the issue with the following steps:
import { createApp } from 'vue'
import './style.css'
import App from './App.vue'
import { initializeApp } from 'firebase/app';
const firebaseConfig = {
// My config (omitted)
};
initializeApp(firebaseConfig);
createApp(App).mount('#app')
This was the output from the build
To help me reproduce the issue, could you provide a code snippet that causes the issue to occur, or a minimal project I can clone to reproduce the issue? |
Hey @dlarocque, thanks for your quick response! You are right, this does not reproduce the issue, my bad. Unfortunately, I am currently not able to give you a minimal project to reproduce this issue. I will need to look deeper into my code base to see why the issue occurs. |
No worries! Please let us know when you are able to share more information that could help us identify the issue. |
Hey @dckz74. We need more information to resolve this issue but there hasn't been an update in 5 weekdays. I'm marking the issue as stale and if there are no new updates in the next 5 days I will close it automatically. If you have more information that will help us get to the bottom of this, just add a comment! |
Since there haven't been any recent updates here, I am going to close this issue. @dckz74 if you're still experiencing this problem and want to continue the discussion just leave a comment here and we are happy to re-open this. |
Operating System
macOS Sonoma 14.4.1
Browser Version
Chrome/124.0.6367.119
Firebase SDK Version
10.11.1
Firebase SDK Product:
Analytics, Auth, Component, Installations, Logger
Describe your project's tooling
Vue3 app with Vite and Jest
Describe the problem
I'm encountering a TypeScript compilation error involving
FirebaseServerAppSettings
when "exactOptionalPropertyTypes": true is set in mytsconfig.json
. This is the error message:If I set "exactOptionalPropertyTypes" to false it works.
Here you can see both interfaces:
Steps and code to reproduce issue
vite build
to build the project.The text was updated successfully, but these errors were encountered: