typedi
typedi copied to clipboard
Fix documentation on using transient services
cc https://github.com/typestack/typedi/issues/51
Description
The documentation for setting up transient services was incorrect and references a scope property which isn't accepted by the Typescript compiler.
Checklist
- [x] the pull request title describes what this PR does (not a vague title like
Update index.md) - [x] the pull request targets the default branch of the repository (
develop) - [x] the code follows the established code style of the repository
npm run prettier:checkpassesnpm run lint:checkpasses
- [x] tests are added for the changes I made (if any source code was modified)
- [x] documentation added or updated
- [ ] I have run the project locally and verified that there are no errors
@attilaorosz (pinging you as you're the first human in the review history of master) Can you take a look at this?
The problem is that the latest dev branch has it and the documentation should be aligned with that. Unfortunately it is not released.
@NoNameProvided any plans on a new release?