Here is how I have configured my Alpine store:
Alpine.store( 'state', ({
qr: ''
}))
Now, I am attempting to update it from an external source as follows:
Alpine.store( 'state' ).qr = 'test'
However, I am encountering an error related to the 'qr' variable in TypeScript:
any
Property 'qr' does not exist on type 'XData'.
Property 'qr' does not exist on type 'string'.
Is there a way to modify or retrieve the store values without triggering these errors?