TypeScript icon indicating copy to clipboard operation
TypeScript copied to clipboard

Documentation in lib.decorators is incorrect

Open trusktr opened this issue 1 year ago • 1 comments

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

trusktr avatar Oct 17 '24 05:10 trusktr

Note, the PR template states to link to an issue that is in the Backlog (I can't do that).

trusktr avatar Oct 17 '24 05:10 trusktr