Merge pull request #2502 from zhongsp/master
doc: fix typo 'BankAccount'
This commit is contained in:
commit
5f7b13b5b0
3 changed files with 1 additions and 1 deletions
Binary file not shown.
Binary file not shown.
|
@ -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.
|
||||
|
||||
|
|
Loading…
Reference in a new issue