답변

1
당신은 확실히 당신의 통근 정의를 보강하려고한다

:

goog.require('goog.events.EventTarget'); 
/** 
* @param {string=} src 
* @constructor 
* @extends {EventTarget} 
*/ 
var Audio = function(src) {}; 
Audio.prototype.play = function() {}; 

편집 :

그래서 문제가 폐쇄 컴파일러 코드베이스에서 해결되었다고 밝혀과 그 수정 복귀했다 . the changelog here을 참조하십시오.

그의 관련 부분은 내가 아래 재생 커밋 :

/** 
* @param {string=} src address of the media resource (a URL) 
* @constructor 
* @extends {HTMLAudioElement} 
* @see http://www.w3.org/html/wg/drafts/html/master/embedded-content-0.html#the-audio-element 
*/ 
var Audio = function(src) {};