Skip to content

Commit

Permalink
Merge pull request #19573 from marquizzo/issues/19562
Browse files Browse the repository at this point in the history
TS: Allow for 3 optional arguments when creating Stats.Panel()
  • Loading branch information
mrdoob authored Jun 6, 2020
2 parents a7cac76 + cf217b2 commit 5eb71d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/jsm/libs/stats.module.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;

0 comments on commit 5eb71d5

Please sign in to comment.