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