BoxMixin.ts
16 lines
| 291 B
| video/mp2t
|
TypeScriptLexer
cin
|
r34 | 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"); | ||||
} | ||||
} | ||||