Type notifications

This commit is contained in:
Adria Navarro 2024-12-30 13:22:15 +01:00
parent 350c91012f
commit bee3a4b233
1 changed files with 2 additions and 1 deletions

View File

@ -1,7 +1,8 @@
import { notifications as BBUINotifications } from "@budibase/bbui"
import { derived } from "svelte/store"
import { Store as StoreContext } from "."
export const createStores = context => {
export const createStores = (context: StoreContext) => {
const { notifySuccess, notifyError } = context
// Normally we would not derive a store in "createStores" as it should be