You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug or question
When working with TypeScript projects, I am currently unable to properly type the singleSpa prop because the single-spa package has no type for this object.
To Reproduce
Create a new Vite + Svelte + TS project.
Install single-spa using npm i -D single-spa.
Open App.svelte.
Declare the singleSpa property: export let singleSpa: //What does one put here? ;. Were you able to type it?
Expected behavior
I would like to be able to comfortably type the singleSpa prop using a type from the single-spa package. Something like:
Describe the bug or question
When working with TypeScript projects, I am currently unable to properly type the singleSpa prop because the single-spa package has no type for this object.
To Reproduce
single-spa
usingnpm i -D single-spa
.App.svelte
.export let singleSpa: //What does one put here? ;
. Were you able to type it?Expected behavior
I would like to be able to comfortably type the
singleSpa
prop using a type from thesingle-spa
package. Something like:Screenshots and/or console output
List of everything you get when you import all of
single-spa
:Additional context
Nothing more to add for now, but ask and I'll try to answer.
The text was updated successfully, but these errors were encountered: