Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions content/lessons/typescript-design-patterns/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,14 +151,14 @@ A facade is a class that provides a simplified API for larger body of code. It i
{{< file "ts" "software.ts" >}}
```typescript
class PlumbingSystem {
// low evel access to plubming system
// low-level access to plubming system

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
// low-level access to plubming system
// low-level access to plumbing system

setPressure(v: number) {}
turnOn() {}
turnOff() {}
}

class ElectricalSystem {
// low evel access to electrical system
// low-level access to electrical system
setVoltage(v: number) {}
turnOn() {}
turnOff() {}
Expand Down