diff --git a/src/core/environment.js b/src/core/environment.js index 587991e607..ccc9f6d252 100644 --- a/src/core/environment.js +++ b/src/core/environment.js @@ -513,7 +513,7 @@ p5.prototype.windowHeight = getWindowHeight(); * canvas or do any other adjustments to accommodate the new window size. * * @method windowResized - * @param {Object} [event] optional Event callback argument. + * @param {UIEvent} [event] optional Event callback argument. * @example *
* function setup() {
diff --git a/src/events/touch.js b/src/events/touch.js
index 29c23ee873..33ce27ad45 100644
--- a/src/events/touch.js
+++ b/src/events/touch.js
@@ -76,7 +76,7 @@ function getTouchInfo(canvas, w, h, e, i = 0) {
* to the end of the method.
*
* @method touchStarted
- * @param {Object} [event] optional TouchEvent callback argument.
+ * @param {TouchEvent} [event] optional TouchEvent callback argument.
* @example
*
*
@@ -155,7 +155,7 @@ p5.prototype._ontouchstart = function(e) {
* to the end of the method.
*
* @method touchMoved
- * @param {Object} [event] optional TouchEvent callback argument.
+ * @param {TouchEvent} [event] optional TouchEvent callback argument.
* @example
*
*
@@ -226,7 +226,7 @@ p5.prototype._ontouchmove = function(e) {
* to the end of the method.
*
* @method touchEnded
- * @param {Object} [event] optional TouchEvent callback argument.
+ * @param {TouchEvent} [event] optional TouchEvent callback argument.
* @example
*
*