Skip to content

Commit e527eaf

Browse files
authored
fix: word
1 parent b644b2a commit e527eaf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/components.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ export class HttpService<T> {
161161
}
162162
```
163163

164-
> warning **Warning** If your class doesn't extend another class, you should always prefer using **constructor-based** injection. The constructor explicitly outlines what dependencies are required and is more difficult to miss than class attributes annotated with `@Inject`.
164+
> warning **Warning** If your class doesn't extend another class, you should always prefer using **constructor-based** injection. The constructor explicitly outlines what dependencies are required and provides better visibility than class attributes annotated with `@Inject`.
165165
166166
#### Provider registration
167167

0 commit comments

Comments
 (0)