#2954 ADAPTER design_patterns_in_typescript

fallback image probably showing plantuml error image

edit

zoom

Diagram Information

Created by: abulka   published
Language: Babel
Repository: torokmark/design_patterns_in_typescript  github
Commit: main
Tags: typescript

Description:

This is how GitUML reverse engineers the adapter pattern. You can add further refinements using the "Refine UML..." feature.

namespace AdapterPattern { export class Adaptee { public method(): void { console.log("`method` of Adaptee is being called"); } } export interface Target { call(): void; } export class Adapter implements Target { public call(): void { console.log("Adapter's `call` method is being called"); var adaptee: Adaptee = new Adaptee(); adaptee.method(); } } }

 

Modules being visualised

List of repository modules/files being visualised in the above diagram: