Przeglądaj źródła

AudioContext: Improve JSDoc. (#33213)

Michael Herzog 4 tygodni temu
rodzic
commit
d9e4b81b5d
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2 2
      src/audio/AudioContext.js

+ 2 - 2
src/audio/AudioContext.js

@@ -10,7 +10,7 @@ class AudioContext {
 	/**
 	 * Returns the global native audio context.
 	 *
-	 * @return {AudioContext} The native audio context.
+	 * @return {Window.AudioContext} The native audio context.
 	 */
 	static getContext() {
 
@@ -27,7 +27,7 @@ class AudioContext {
 	/**
 	 * Allows to set the global native audio context from outside.
 	 *
-	 * @param {AudioContext} value - The native context to set.
+	 * @param {Window.AudioContext} value - The native context to set.
 	 */
 	static setContext( value ) {
 

粤ICP备19079148号