File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -484,7 +484,7 @@ export declare class CSInterface {
484484 * @param listener The JavaScript handler function or method.
485485 * @param obj Optional, the object containing the handler method, if any. Default is null.
486486 */
487- addEventListener ( type : string , listener : any , obj ?: object ) : void ;
487+ addEventListener ( type : string , listener : ( evt : CSEvent ) => void , obj ?: object ) : void ;
488488 /**
489489 * Removes a registered event listener.
490490 *
Original file line number Diff line number Diff line change @@ -523,7 +523,7 @@ export class CSInterface {
523523 * @param listener The JavaScript handler function or method.
524524 * @param obj Optional, the object containing the handler method, if any. Default is null.
525525 */
526- addEventListener ( type : string , listener : any , obj ?: object ) : void {
526+ addEventListener ( type : string , listener : ( evt : CSEvent ) => void , obj ?: object ) : void {
527527 window . __adobe_cep__ . addEventListener ( type , listener , obj ) ;
528528 }
529529
You can’t perform that action at this time.
0 commit comments