Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
betula committed Jun 26, 2019
1 parent e420b58 commit a0aa6b4
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,7 @@ class A {
@inject
class B {
constructor(private a: A) {
// After `override(A, A2)` property
// `this.a` will be instance of A2, but not A
// After `override(A, A2)` property `this.a` will be instance of A2, but not A
this.a.send();
}
}
Expand Down Expand Up @@ -409,17 +408,28 @@ class {
**attach**



**bind**


**override**


**assign**


**isolate**


**reset**

Clean all cached dependency instances and overrides. Its needed for testing. Has no parameters.

```javascript
// ...
after(reset);
// ...
```

---

If you have questions or something else for me or this project, maybe architectures questions, improvement ideas or anything else, please make issues.

0 comments on commit a0aa6b4

Please sign in to comment.