Always allow code before super call when it does not use "this" · Issue #8277 · microsoft/TypeScript
エントリーの編集

エントリーの編集は全ユーザーに共通の機能です。
必ずガイドラインを一読の上ご利用ください。
Always allow code before super call when it does not use "this" · Issue #8277 · microsoft/TypeScript
記事へのコメント1件
- 注目コメント
- 新着コメント
注目コメント算出アルゴリズムの一部にLINEヤフー株式会社の「建設的コメント順位付けモデルAPI」を使用しています

- バナー広告なし
- ミュート機能あり
- ダークモード搭載
関連記事
Always allow code before super call when it does not use "this" · Issue #8277 · microsoft/TypeScript
The TypeScript specification currently reads: The first statement in the body of a constructor mu... The TypeScript specification currently reads: The first statement in the body of a constructor must be a super call if both of the following are true: The containing class is a derived class. The constructor declares parameter properties or the containing class declares instance member variables with initializers. It is reasonable in TypeScript to not permit this to be referenced in a constructor
2016/07/29 リンク