microsoft / microsoft/TypeScript
Spread with enum index key, invalid members don't trigger errors
オープン
@ahejlsberg がすでに取り組んでいます。
2019年7月3日 から。
Needs Investigation
- 主要言語
- Go
- スター
- 111k
- フォーク
- 14.3k
- 平均マージ
- 2日 4時間
- マージ済み PR(30日)
- 132
説明
TypeScript Version: 3.5.1
Search Terms:
object spread enum index missing keys
Expected behavior:
Missing keys & incorrect value types when I build a nested object using the spread operator with index keys, ought to throw errors for invalid types
Actual behavior:
It seems like the child object can have whatever shape I want, the types aren't being checked at all
Playground Link: This is same as above playground link
Related Issues: I'm not really sure what the root limitation that's causing this is so it's hard for me to find similar issues.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
評価
この issue はまだ評価されていません。