What's new
TS attributes now work on methods of any visibility.
Until now #[TSType], #[TSEnum], and the other TS attributes were only picked up from public methods. Starting with this release the parser also scans protected and private methods, so you can annotate internal helpers and they will still contribute to the generated TypeScript output.
Changes
AttributeParsernow collects methods viaIS_PUBLIC | IS_PROTECTED | IS_PRIVATEinstead ofIS_PUBLIConly.
Upgrade notes
No breaking changes. No configuration required.