Skip to content

Commit 5f7b13b

Browse files
committed
Merge pull request #2502 from zhongsp/master
doc: fix typo 'BankAccount'
2 parents 71590de + 4fb4418 commit 5f7b13b

File tree

3 files changed

+1
-1
lines changed

3 files changed

+1
-1
lines changed
-80.9 KB
Binary file not shown.
-69.8 KB
Binary file not shown.

doc/spec.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -545,7 +545,7 @@ class CheckingAccount extends BankAccount {
545545
}
546546
```
547547

548-
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'.
548+
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'.
549549

550550
TypeScript classes may also specify static members. Static class members become properties of the class constructor.
551551

0 commit comments

Comments
 (0)