Why do I get this warning Type ‘unknown’ is not assignable to type ‘Events[]’.ts(2322)?
I’ve been having a difficult time to figure out where is this warning coming from. So I’m following shadCN’s tutorial regarding Datatable
, so after finishing it, I tried creating my own table wherein I’m fetching my data from the database. But after finishing it, I get this warning from TypeScript