how to put the types to the context
this is the erros i get when trying to use the context, i have the type of the array is this

type ServerModel =
{
id: string;
pwd: string;
name: string;
host: string;
port: string;
user: string;
licenses: LicenseModel[];
databases: DatabaseModel[];
};