Because IncomingRequestCfProperties is a union, you can't pass an empty object as a possible type for IncomingRequestCfPropertiesGeographicInformation. Instead, all properties should be marked as optional and the country
parameter should be type country: Iso3166Alpha2Code | "T1";
Because
IncomingRequestCfProperties
is a union, you can't pass an empty object as a possible type forIncomingRequestCfPropertiesGeographicInformation
. Instead, all properties should be marked as optional and thecountry
parameter should be typecountry: Iso3166Alpha2Code | "T1";