Skip to content

Commit

Permalink
Merge pull request #572 from sjamesr/fix_type_error
Browse files Browse the repository at this point in the history
Fix closure compiler error
  • Loading branch information
rictic authored Mar 12, 2024
2 parents f91938f + 3d27b4e commit 651e207
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion packages/shadydom/src/patch-events.js
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,14 @@ if (eventPhaseDescriptor) {
Object.defineProperty(
EventPatches,
'eventPhase',
/** @type {!ObjectPropertyDescriptor<!Event>} */ ({
/** @type {!ObjectPropertyDescriptor<!{
composed: ?,
composedPath: function(this:Event): ?,
relatedTarget: ?,
stopImmediatePropagation: function(this:Event): undefined,
stopPropagation: function(this:Event): undefined,
target: ?
}>} */ ({
/**
* @this {Event}
*/
Expand Down

0 comments on commit 651e207

Please sign in to comment.