Revision 8d715ff53eb94acad32ab0ee8652569ae434eacd authored by Nathan Shively-Sanders on 18 October 2021, 16:00:00 UTC, committed by GitHub on 18 October 2021, 16:00:00 UTC
* Error on mapped types with properties 1. Error on properties of type literals with computed properties whose name is a binary expression with `in`, because that's a good sign of a mapped type. 2. Parse following properties on mapped types, and error on them. 3. Stop checking computed property names in (1) to avoid producing errors based on misinterpreting mapped type syntax as an expression. * add comment in types.ts * Update API again * Check interfaces and classes too * Add missed check in updateMappedTypeNode
1 parent 26aea0d
File | Mode | Size |
---|---|---|
handbook | ||
images | ||
wiki | ||
README.md | -rw-r--r-- | 509 bytes |
TypeScript Language Specification (Change Markup) - ARCHIVED.docx | -rw-r--r-- | 368.3 KB |
TypeScript Language Specification (Change Markup) - ARCHIVED.pdf | -rw-r--r-- | 1.7 MB |
TypeScript Language Specification - ARCHIVED.docx | -rw-r--r-- | 310.0 KB |
TypeScript Language Specification - ARCHIVED.pdf | -rw-r--r-- | 1.6 MB |
logo.svg | -rw-r--r-- | 2.7 KB |
spec-ARCHIVED.md | -rw-r--r-- | 364.7 KB |
Computing file changes ...