Merge pull request #2502 from zhongsp/master

doc: fix typo 'BankAccount'
This commit is contained in:
Mohamed Hegazy 2015-03-30 09:57:46 -07:00
commit 5f7b13b5b0
3 changed files with 1 additions and 1 deletions

View file

@ -545,7 +545,7 @@ class CheckingAccount extends BankAccount {
}
```
In this example, the class 'CheckingAccount' *derives* from class 'BankAccount'. The constructor for 'CheckingAccount' calls the constructor for class 'BankAccount' using the 'super' keyword. In the emitted JavaScript code, the prototype of 'CheckingAccount' will chain to the prototype of 'BankingAccount'.
In this example, the class 'CheckingAccount' *derives* from class 'BankAccount'. The constructor for 'CheckingAccount' calls the constructor for class 'BankAccount' using the 'super' keyword. In the emitted JavaScript code, the prototype of 'CheckingAccount' will chain to the prototype of 'BankAccount'.
TypeScript classes may also specify static members. Static class members become properties of the class constructor.