From cf217b2309ac4d64569cb7eafe419c7d790214c0 Mon Sep 17 00:00:00 2001 From: Marquizzo Date: Fri, 5 Jun 2020 12:57:09 -0700 Subject: [PATCH] TS: Allow for 3 optional parameters when creating Stats.Panel() --- examples/jsm/libs/stats.module.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/jsm/libs/stats.module.d.ts b/examples/jsm/libs/stats.module.d.ts index efcb048ad6d5d7..f5f485a02ec28f 100644 --- a/examples/jsm/libs/stats.module.d.ts +++ b/examples/jsm/libs/stats.module.d.ts @@ -18,7 +18,7 @@ declare namespace Stats { update( value: number, maxValue: number ): void; } - function Panel(): Panel; + function Panel(name?: string, fg?: string, bg?: string): Panel; } export default Stats;