TypeScript: add private fields and type-only imports/exports, and some fixes
Summary:
- Add private-named instance fields. Ex: x.#name;. [1]
- Support type-only imports and exports. [2]
- Improve the detection of conditional expressions a ? b : c. Allow multiple lines.
- Add rules of round brackets () to correct the highlighting of pairs of brackets. [3]
[1] https://github.com/microsoft/TypeScript/pull/30829
[2] https://github.com/microsoft/TypeScript/pull/35200
[3] https://unix.stackexchange.com/questions/527268/kate-18-12-3-no-longer-shows-matching-parenthesis-for-typescript
Reviewers: Framework: Syntax Highlighting, dhaumann, cullmann
Reviewed By: Framework: Syntax Highlighting, cullmann
Subscribers: kwrite-devel, kde-frameworks-devel
Tags: Kate, Frameworks
Differential Revision: https://phabricator.kde.org/D27692