Skip to content

Commit 0895ff3

Browse files
committed
Merge pull request basarat#101 from thefabulousdev/patch-1
Fix small typo in typeInstantiation.md
2 parents 0835d27 + efe5a19 commit 0895ff3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/tips/typeInstantiation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ The Type assertion pattern is unsafe in that it trusts you to do the right thing
2525
class FooNumber extends Foo<number>{}
2626
```
2727

28-
One word of caution here : if you use decorators on the base class than the inherited class might now have the same behavior as the base class (it is no longer wrapped by the decorator).
28+
One word of caution here : if you use decorators on the base class then the inherited class might now have the same behavior as the base class (it is no longer wrapped by the decorator).
2929

3030
Of course if you are not specializing classes you still have to come up with a coercion / assertion pattern that works and hence we showed the general assertion pattern first, e.g.:
3131

0 commit comments

Comments
 (0)