TypeScript
TypeScript copied to clipboard
Documentation in lib.decorators is incorrect
Acknowledgement
- [x] I acknowledge that issues using this template may be closed without further explanation at the maintainer's discretion.
Comment
Described order of execution of initializers added with context.addInitializer() is incorrect.
Reference:
https://github.com/tc39/proposal-decorators?tab=readme-ov-file#adding-initialization-logic-with-addinitializer
Pull Request:
- https://github.com/microsoft/TypeScript/pull/60252
Note, the PR template states to link to an issue that is in the Backlog (I can't do that).