* Declare external variables really as external

This commit is contained in:
Michael Van Canneyt 2025-01-10 11:08:45 +01:00
parent 7d4d5afb64
commit 24ad3b1326

View File

@ -130,10 +130,10 @@ Type
Var
Self_ : TJSServiceWorkerGlobalScope; external name 'self';
location : TJSWorkerLocation;
console : TJSConsole;
navigator : TJSWorkerNavigator;
caches : TJSCacheStorage;
location : TJSWorkerLocation ; external name 'location';
console : TJSConsole; external name 'console';
navigator : TJSWorkerNavigator; external name 'navigator';
caches : TJSCacheStorage; external name 'caches';
function fetch(resource: String; init: TJSObject): TJSPromise; overload; external name 'fetch';
//function fetch(resource: String): TJSPromise; overload; external name 'fetch';