Skip to content

Commit 651e207

Browse files
authored
Merge pull request #572 from sjamesr/fix_type_error
Fix closure compiler error
2 parents f91938f + 3d27b4e commit 651e207

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

packages/shadydom/src/patch-events.js

+8-1
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,14 @@ if (eventPhaseDescriptor) {
283283
Object.defineProperty(
284284
EventPatches,
285285
'eventPhase',
286-
/** @type {!ObjectPropertyDescriptor<!Event>} */ ({
286+
/** @type {!ObjectPropertyDescriptor<!{
287+
composed: ?,
288+
composedPath: function(this:Event): ?,
289+
relatedTarget: ?,
290+
stopImmediatePropagation: function(this:Event): undefined,
291+
stopPropagation: function(this:Event): undefined,
292+
target: ?
293+
}>} */ ({
287294
/**
288295
* @this {Event}
289296
*/

0 commit comments

Comments
 (0)