Allow C++-style visibility sections in class bodies

オープン
#36,439 コメント 2 件 リアクション 5 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
typescript
領域
compilers

調査の方向性

ファイル、テスト、エントリポイントは指定されていません。まず、提案されている C++ スタイルの可視性セクションの動作と、リンクされている TypeScript の設計目標を読み、関連するコンパイラ領域を探す前に構文と受け入れ条件を定義してください。完了とは、既存の TypeScript または JavaScript のランタイム動作を変更せずに提案が機能することを意味します。

索引モデルが issue の本文から書いたものです。

説明

Awaiting More Feedback Suggestion

Search Terms

public, shorthand, private

Suggestion

Screen Shot 2020-01-26 at 2 22 29 PM

See image. Would reduce a lot of clutter for public/private to be consolidated into a group like above.

My suggestion meets these guidelines:

  • This wouldn't be a breaking change in existing TypeScript/JavaScript code
  • This wouldn't change the runtime behavior of existing JavaScript code
  • This could be implemented without emitting different JS based on the types of the expressions
  • This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, etc.)
  • This feature would agree with the rest of TypeScript's Design Goals.
主要言語
Go
スター
111k
フォーク
14.4k
平均マージ
1日 19時間
マージ済み PR(30日)
117

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

microsoft/TypeScript のほかの issue

microsoft/TypeScript の issue をすべて見る

似ている issue

Go の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。