This simply adds a supabase type definition to the vuex store interface. When the SupabaseClient is injected, it is also made available to the store context i.e. actions, mutations but my editor doesn't know that.
What is the current behavior?
Red squigly lines as saying supabase is unknown or not defined when used inside of either an action or mutation
Please link any relevant issues here.
What is the new behavior?
No type error, and autocomplete, thanks to typescript
Feel free to include screenshots if it includes visual changes.
What kind of change does this PR introduce?
This simply adds a supabase type definition to the vuex store interface. When the SupabaseClient is injected, it is also made available to the store context i.e. actions, mutations but my editor doesn't know that.
What is the current behavior?
Red squigly lines as saying supabase is unknown or not defined when used inside of either an action or mutation
Please link any relevant issues here.
What is the new behavior?
No type error, and autocomplete, thanks to typescript
Feel free to include screenshots if it includes visual changes.
Additional context
Add any other context or screenshots.