From 7ee698c450e8317651ecb102534b0601da5ecb9f Mon Sep 17 00:00:00 2001 From: Shengping Zhong Date: Thu, 26 Mar 2015 11:29:56 +0800 Subject: [PATCH] doc: fix typo 'BankAccount' --- doc/spec.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/spec.md b/doc/spec.md index 66a622d9e73..cff436d5fc0 100644 --- a/doc/spec.md +++ b/doc/spec.md @@ -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.