diff --git a/tns-core-modules/globals/globals.ts b/tns-core-modules/globals/globals.ts index 03737a50e..598b79bc0 100644 --- a/tns-core-modules/globals/globals.ts +++ b/tns-core-modules/globals/globals.ts @@ -99,6 +99,9 @@ if (global.__snapshot) { var fetch = require("fetch"); global.fetch = fetch.fetch; + global.Headers = fetch.Headers; + global.Request = fetch.Request; + global.Response = fetch.Response; } else { registerOnGlobalContext("setTimeout", "timer"); registerOnGlobalContext("clearTimeout", "timer");