If the generic type is passed, the result will immediately be typed correctly.
If the value is a stringified JSON it will automatically be parsed. Also booleans, strings and numbers will automatically be parsed correctly.
import { Showpad } from '@showpad/experience-app-sdk'type Contact = { name: string surname: string}const contacts = await Showpad.getStoreEntries<Contact>('Contacts') Copy
import { Showpad } from '@showpad/experience-app-sdk'type Contact = { name: string surname: string}const contacts = await Showpad.getStoreEntries<Contact>('Contacts')
Generated using TypeDoc
If the generic type is passed, the result will immediately be typed correctly.
If the value is a stringified JSON it will automatically be parsed. Also booleans, strings and numbers will automatically be parsed correctly.
Example