interface person {
sex: string;
}
interface stu {
name: string;
order?: number;
new (p: person): any;
}
class Test implements stu {
name: string = "joyKit";
order?: number = 1;
}
export function test()?{
const t = new Test();
}
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…