TypeScript 里的 override
摘要:
export class Animal { public say():void{ console.log("I am a Animal"); } } export class Dog extends Animal { public override say():void{ console.log(" 阅读全文
posted @ 2024-10-26 17:07 kingBook 阅读(2) 评论(0) 推荐(0) 编辑