@types/web 0.0.234 → 0.0.236

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -47,4 +47,4 @@ Prior to `@types/web` the web APIs were deployed with a version of TypeScript, a
47
47
 
48
48
  ## Deploy Metadata
49
49
 
50
- You can read what changed in version 0.0.234 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.234.
50
+ You can read what changed in version 0.0.236 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.236.
package/index.d.ts CHANGED
@@ -6892,7 +6892,7 @@ interface Crypto {
6892
6892
  */
6893
6893
  readonly subtle: SubtleCrypto;
6894
6894
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Crypto/getRandomValues) */
6895
- getRandomValues<T extends ArrayBufferView | null>(array: T): T;
6895
+ getRandomValues<T extends ArrayBufferView>(array: T): T;
6896
6896
  /**
6897
6897
  * Available only in secure contexts.
6898
6898
  *
@@ -23833,6 +23833,7 @@ declare var SourceBufferList: {
23833
23833
 
23834
23834
  /**
23835
23835
  * The **`SpeechRecognitionAlternative`** interface of the Web Speech API represents a single word that has been recognized by the speech recognition service.
23836
+ * Available only in secure contexts.
23836
23837
  *
23837
23838
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognitionAlternative)
23838
23839
  */
@@ -23850,6 +23851,7 @@ declare var SpeechRecognitionAlternative: {
23850
23851
 
23851
23852
  /**
23852
23853
  * The **`SpeechRecognitionResult`** interface of the Web Speech API represents a single recognition match, which may contain multiple SpeechRecognitionAlternative objects.
23854
+ * Available only in secure contexts.
23853
23855
  *
23854
23856
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognitionResult)
23855
23857
  */
@@ -23870,6 +23872,7 @@ declare var SpeechRecognitionResult: {
23870
23872
 
23871
23873
  /**
23872
23874
  * The **`SpeechRecognitionResultList`** interface of the Web Speech API represents a list of SpeechRecognitionResult objects, or a single one if results are being captured in SpeechRecognition.continuous mode.
23875
+ * Available only in secure contexts.
23873
23876
  *
23874
23877
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognitionResultList)
23875
23878
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/web",
3
- "version": "0.0.234",
3
+ "version": "0.0.236",
4
4
  "description": "Types for the DOM, and other web technologies in browsers",
5
5
  "license": "Apache-2.0",
6
6
  "contributors": [],
package/ts5.5/index.d.ts CHANGED
@@ -6885,7 +6885,7 @@ interface Crypto {
6885
6885
  */
6886
6886
  readonly subtle: SubtleCrypto;
6887
6887
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Crypto/getRandomValues) */
6888
- getRandomValues<T extends ArrayBufferView | null>(array: T): T;
6888
+ getRandomValues<T extends ArrayBufferView>(array: T): T;
6889
6889
  /**
6890
6890
  * Available only in secure contexts.
6891
6891
  *
@@ -23812,6 +23812,7 @@ declare var SourceBufferList: {
23812
23812
 
23813
23813
  /**
23814
23814
  * The **`SpeechRecognitionAlternative`** interface of the Web Speech API represents a single word that has been recognized by the speech recognition service.
23815
+ * Available only in secure contexts.
23815
23816
  *
23816
23817
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognitionAlternative)
23817
23818
  */
@@ -23829,6 +23830,7 @@ declare var SpeechRecognitionAlternative: {
23829
23830
 
23830
23831
  /**
23831
23832
  * The **`SpeechRecognitionResult`** interface of the Web Speech API represents a single recognition match, which may contain multiple SpeechRecognitionAlternative objects.
23833
+ * Available only in secure contexts.
23832
23834
  *
23833
23835
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognitionResult)
23834
23836
  */
@@ -23849,6 +23851,7 @@ declare var SpeechRecognitionResult: {
23849
23851
 
23850
23852
  /**
23851
23853
  * The **`SpeechRecognitionResultList`** interface of the Web Speech API represents a list of SpeechRecognitionResult objects, or a single one if results are being captured in SpeechRecognition.continuous mode.
23854
+ * Available only in secure contexts.
23852
23855
  *
23853
23856
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognitionResultList)
23854
23857
  */
package/ts5.6/index.d.ts CHANGED
@@ -6892,7 +6892,7 @@ interface Crypto {
6892
6892
  */
6893
6893
  readonly subtle: SubtleCrypto;
6894
6894
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Crypto/getRandomValues) */
6895
- getRandomValues<T extends ArrayBufferView | null>(array: T): T;
6895
+ getRandomValues<T extends ArrayBufferView>(array: T): T;
6896
6896
  /**
6897
6897
  * Available only in secure contexts.
6898
6898
  *
@@ -23833,6 +23833,7 @@ declare var SourceBufferList: {
23833
23833
 
23834
23834
  /**
23835
23835
  * The **`SpeechRecognitionAlternative`** interface of the Web Speech API represents a single word that has been recognized by the speech recognition service.
23836
+ * Available only in secure contexts.
23836
23837
  *
23837
23838
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognitionAlternative)
23838
23839
  */
@@ -23850,6 +23851,7 @@ declare var SpeechRecognitionAlternative: {
23850
23851
 
23851
23852
  /**
23852
23853
  * The **`SpeechRecognitionResult`** interface of the Web Speech API represents a single recognition match, which may contain multiple SpeechRecognitionAlternative objects.
23854
+ * Available only in secure contexts.
23853
23855
  *
23854
23856
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognitionResult)
23855
23857
  */
@@ -23870,6 +23872,7 @@ declare var SpeechRecognitionResult: {
23870
23872
 
23871
23873
  /**
23872
23874
  * The **`SpeechRecognitionResultList`** interface of the Web Speech API represents a list of SpeechRecognitionResult objects, or a single one if results are being captured in SpeechRecognition.continuous mode.
23875
+ * Available only in secure contexts.
23873
23876
  *
23874
23877
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognitionResultList)
23875
23878
  */