You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This was discussed quite a bit when support for bigint was added to TypeScript. We decided that there weren't many good use cases for bigint keys and it made more sense to require an explicit conversion to string instead. For example, see #15096 (comment).
Can you explain why you think this behavior should be changed?
TypeScript Version: 3.8.0-dev.20200101
Search Terms: bigint, property name
Code
Expected behavior:
No error
Actual behavior:
Property Assignment Expected
Playground Link: https://www.typescriptlang.org/play/?ts=3.8.0-dev.20200101&ssl=1&ssc=1&pln=1&pc=15#code/BQbwBAjAdgXJBMBmMBfAlAbiA
Related Issues:
tc39/test262#2457
https://bugs.chromium.org/p/v8/issues/detail?id=10083
ecd1245 should be partially reverted.
The text was updated successfully, but these errors were encountered: