From 1be50fa5c5e80befcad1c163121b4e1120b2a7e8 Mon Sep 17 00:00:00 2001 From: jonnytest1 Date: Fri, 28 Jun 2019 23:37:36 +0200 Subject: [PATCH] Update global.d.ts (#36056) parameters of randomGaussian are optional as stated in the jsdoc description --- types/p5/global.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/types/p5/global.d.ts b/types/p5/global.d.ts index 13bcd8acc4..4c8b98b2cd 100644 --- a/types/p5/global.d.ts +++ b/types/p5/global.d.ts @@ -5419,8 +5419,8 @@ declare global { * @return the random number */ function randomGaussian( - mean: number, - sd: number + mean?: number, + sd?: number ): number; /**