Skip to content

Commit 7ee698c

Browse files
committed
doc: fix typo 'BankAccount'
1 parent 8610a88 commit 7ee698c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)