测试用例更新

This commit is contained in:
YHH
2025-07-31 15:37:40 +08:00
parent 6ea366cfed
commit 69655f1936
16 changed files with 460 additions and 297 deletions

View File

@@ -7,8 +7,12 @@ import { ITimer } from '../src/Utils/Timers/ITimer';
// 测试组件
class TestComponent extends Component {
constructor(public value: number = 0) {
public value: number;
constructor(...args: unknown[]) {
super();
const [value = 0] = args as [number?];
this.value = value;
}
}