SolidJSS
SolidJSโ€ข3y agoโ€ข
1 reply
AesthetiCoder

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[];
};
image.png
image.png
Was this page helpful?