Skip to content

Commit

Permalink
nit: jsdoc typo
Browse files Browse the repository at this point in the history
  • Loading branch information
codedread committed Jan 19, 2024
1 parent 1cd392e commit 98f98b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion image/parsers/parsers.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* @template T
* @param {string} type The event type.
* @param {T} data The event data.
* @return {CustomEvent<T>} The new event.
* @returns {CustomEvent<T>} The new event.
*/
export function createEvent(type, data) {
return new CustomEvent(type, { detail: data });
Expand Down

0 comments on commit 98f98b8

Please sign in to comment.