Skip to content

v0.2.3

Latest

Choose a tag to compare

@BrunosCode BrunosCode released this 18 May 06:26

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

  • AttributeParser now collects methods via IS_PUBLIC | IS_PROTECTED | IS_PRIVATE instead of IS_PUBLIC only.

Upgrade notes

No breaking changes. No configuration required.