diff options
author | Asher Gomez <ashersaupingomez@gmail.com> | 2024-08-29 10:22:40 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-29 00:22:40 +0000 |
commit | d183533404bf7fe062331e414d5c2bc41e49d5e4 (patch) | |
tree | d5a729f94f649eab45d47bf7822fd4bf8f06799c /cli/tsc/dts/lib.webworker.d.ts | |
parent | 27d0897841386068560ffad256c6c8ac27adefe1 (diff) |
docs: refer to `globalThis` instead of `window` in declaration files (#25286)
Diffstat (limited to 'cli/tsc/dts/lib.webworker.d.ts')
-rw-r--r-- | cli/tsc/dts/lib.webworker.d.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/tsc/dts/lib.webworker.d.ts b/cli/tsc/dts/lib.webworker.d.ts index 8b281e9ca..e05292ec6 100644 --- a/cli/tsc/dts/lib.webworker.d.ts +++ b/cli/tsc/dts/lib.webworker.d.ts @@ -5407,7 +5407,7 @@ declare var StylePropertyMapReadOnly: { }; /** - * This Web Crypto API interface provides a number of low-level cryptographic functions. It is accessed via the Crypto.subtle properties available in a window context (via Window.crypto). + * This Web Crypto API interface provides a number of low-level cryptographic functions. It is accessed via the Crypto.subtle properties available in a window context (via globalThis.crypto). * Available only in secure contexts. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto) @@ -8641,7 +8641,7 @@ declare var WorkerLocation: { }; /** - * A subset of the Navigator interface allowed to be accessed from a Worker. Such an object is initialized for each worker and is available via the WorkerGlobalScope.navigator property obtained by calling window.self.navigator. + * A subset of the Navigator interface allowed to be accessed from a Worker. Such an object is initialized for each worker and is available via the WorkerGlobalScope.navigator property obtained by calling globalThis.self.navigator. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerNavigator) */ |