Skip to content
This repository was archived by the owner on Feb 7, 2023. It is now read-only.

Commit bf5d870

Browse files
jacobbednarzaskoufisthreepointone
authored
adds support for isEUCountry (#245)
* adds support for isEUCountry Docs: https://developers.cloudflare.com/workers/runtime-apis/request/#incomingrequestcfproperties * fix isEUCountry type to string? Co-authored-by: Adam Skoufis <[email protected]> * add changeset * make the changeset be a patch since it's a bugfix Co-authored-by: Adam Skoufis <[email protected]> Co-authored-by: Sunil Pai <[email protected]>
1 parent f661c28 commit bf5d870

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.changeset/2022-06-01.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@cloudflare/workers-types": patch
3+
---
4+
5+
Added support for `isEUCountry` property on `IncomingRequestCfProperties`

overrides/cf.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -315,6 +315,7 @@ interface IncomingRequestCfProperties {
315315
*/
316316
country: string;
317317
httpProtocol: string;
318+
isEUCountry?: string;
318319
latitude?: string;
319320
longitude?: string;
320321
/**

0 commit comments

Comments
 (0)