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
{{ message }}
This repository was archived by the owner on Apr 16, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Apr 16, 2026. It is now read-only.
[TypeScript] Issues on syntax highlight and indentation on interfaces and types #5734
In the code example above I still see some issues with the interface with comma delimiters and the last type when preceded with the interface without delimiters.
Ahh, right, that was caused by the parser treating class and interface declarations the same, and getting confused when there was neither a body nor a semicolon after a method. Attached patch should help.
Activity
ficristo commentedon Jan 3, 2019
In the code example above I still see some issues with the interface with comma delimiters and the last
typewhen preceded with the interface without delimiters.[javascript] Don't expect function bodies in interface declarations
marijnh commentedon Jan 4, 2019
Ahh, right, that was caused by the parser treating class and interface declarations the same, and getting confused when there was neither a body nor a semicolon after a method. Attached patch should help.
ficristo commentedon Jan 4, 2019
The interface with comma delimiters has still some problems.
[javascript mode] Accept commas as separators in TypeScript interfaces
[javascript mode] Improve support for syntactic corner cases in TypeS…
[javascript] Don't expect function bodies in interface declarations
[javascript mode] Accept commas as separators in TypeScript interfaces
Update from master (#1)
[javascript mode] Improve support for syntactic corner cases in TypeS…