Forráskód Böngészése

TS: Allow for 3 optional parameters when creating Stats.Panel()

Marquizzo 5 éve
szülő
commit
cf217b2309
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      examples/jsm/libs/stats.module.d.ts

+ 1 - 1
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;