Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Commit

Permalink
Merge pull request #946 from johnspurlock/patch-1
Browse files Browse the repository at this point in the history
Fix 'chose' typo in Decorators.md
  • Loading branch information
RyanCavanaugh committed Feb 14, 2019
2 parents d634a57 + 7ec7cab commit 6291f52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/Decorators.md
Expand Up @@ -134,7 +134,7 @@ The expression for the class decorator will be called as a function at runtime,

If the class decorator returns a value, it will replace the class declaration with the provided constructor function.

> NOTE  Should you chose to return a new constructor function, you must take care to maintain the original prototype.
> NOTE  Should you choose to return a new constructor function, you must take care to maintain the original prototype.
The logic that applies decorators at runtime will **not** do this for you.

The following is an example of a class decorator (`@sealed`) applied to the `Greeter` class:
Expand Down

0 comments on commit 6291f52

Please sign in to comment.