Skip to content

Commit 7d025a2

Browse files
examples updated
1 parent 52459e6 commit 7d025a2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ npm install --save container-ioc
2525

2626
### Quick start
2727

28-
```Typescript
28+
```typescript
2929
import { Container, Inject, Injectable } from 'container-ioc';
3030

3131
let container = new Container();
@@ -102,7 +102,7 @@ const instance2 = container.resolve(A);
102102

103103
### Hierarchical containers.
104104
> if a provider wasn't found in a container it will look up in ascendant containers if there are any:
105-
```Typescript
105+
```typescript
106106
import { Container } from 'container-ioc';
107107

108108
@Injectable()
@@ -120,7 +120,7 @@ childContainer.resolve('IA');
120120
### Pluggable metadata annotator.
121121
> By default metadata is assigned to static properties.
122122
> If you want to use Reflect API for annotation, you can implement **IMetadataAnnotator** interface with your implementation using Reflect API. Then plug it into **AnnotatorProvider**
123-
```Typescript
123+
```typescript
124124
import { AnnotatorProvider, IMetadataAnnotator, Container } from 'container-ioc';
125125

126126
class ReflectMetadataAnnotator implements IMetadataAnnotator {

0 commit comments

Comments
 (0)