You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 7, 2023. It is now read-only.
What is the source of truth for IncomingRequestCfProperties interface? Docs or the type defined by @cloudflare/workers-types? One or the other should be adjusted.
For instance, notice that country property is described as string | null in docs and string in this lib. Or city defined as string | null in docs, but string | undefined in here. Similar mismatch applies to the rest properties.
The text was updated successfully, but these errors were encountered:
What is the source of truth for
IncomingRequestCfProperties
interface? Docs or the type defined by@cloudflare/workers-types
? One or the other should be adjusted.Docs:
https://developers.cloudflare.com/workers/runtime-apis/request#incomingrequestcfproperties
Types:
workers-types/index.d.ts
Line 682 in c117b5a
For instance, notice that
country
property is described asstring | null
in docs andstring
in this lib. Orcity
defined asstring | null
in docs, butstring | undefined
in here. Similar mismatch applies to the rest properties.The text was updated successfully, but these errors were encountered: