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