未验证 提交 5eb71d51 编写于 作者: M Mr.doob 提交者: GitHub

Merge pull request #19573 from marquizzo/issues/19562

TS: Allow for 3 optional arguments when creating Stats.Panel()
......@@ -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;
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册