Hello, could you please fix RealtimeResposneEvent, the one in realtime.ts have timestamp: string, but the one in client.ts have timestamp: number, and it causes issues like
import { type RealtimeResponseEvent } from 'appwrite';
await new Realtime(client).subscribe(['lorem', 'ipsum'], (event: RealtimeResponseEvent<T>) => { console.log(event.payload); });
Types of property **timestamp **are incompatible. Type string is not assignable to type number
I can help! The issue is caused by a type mismatch RealtimeResponseEvent has timestamp: string in realtime.ts but timestamp: number in client.ts, creating a conflict when TypeScript tries to reconcile them. Which file has the correct type for your use case - should timestamp be a string or a number?
Recommended threads
- Facebook's scraper facebookexternalhit g...
share.bardbliss.com but works fine on the raw fra.appwrite.run URL. No execution logs appear when Facebook hits the custom domain. This was working before. How ...
- How to Display File in Web?
I'm trying to use Appwrite's Storage to store images and display them in my app, however when I use the `getFileView`, `getFileDownload` or `getFilePreview` met...
- Project Paused Despite Daily Active Usag...
I noticed that my project was automatically **paused**, even though it is actively being used. The project is an **attendance application** that is used daily b...