BoxMixin.ts
16 lines
| 291 B
| video/mp2t
|
TypeScriptLexer
cin
|
r65 | import { djbase, djclass } from "../declare"; | ||
interface Super { | ||||
writeHello(out: string[]): void; | ||||
} | ||||
@djclass | ||||
export class BoxMixin extends djbase<Super>() { | ||||
writeHello(out: string[]) { | ||||
out.push("-> Box"); | ||||
super.writeHello(out); | ||||
out.push("<- Box"); | ||||
} | ||||
} | ||||