docs(cheatsheet): complete the copy edit (#11215)
…and general cleanup of the cheatsheet.
This commit is contained in:

committed by
Martin Probst

parent
0bb94df1da
commit
e42a057048
@ -9,7 +9,7 @@ syntax(ts):
|
||||
syntax(js):
|
||||
`{ provide: MyService, useClass: MyMockService }`|`provide`|`useClass`
|
||||
description:
|
||||
Sets or overrides the provider for MyService to the MyMockService class.
|
||||
Sets or overrides the provider for `MyService` to the `MyMockService` class.
|
||||
|
||||
|
||||
@cheatsheetItem
|
||||
@ -18,7 +18,7 @@ syntax(ts):
|
||||
syntax(js):
|
||||
`{ provide: MyService, useFactory: myFactory }`|`provide`|`useFactory`
|
||||
description:
|
||||
Sets or overrides the provider for MyService to the myFactory factory function.
|
||||
Sets or overrides the provider for `MyService` to the `myFactory` factory function.
|
||||
|
||||
|
||||
@cheatsheetItem
|
||||
@ -27,4 +27,4 @@ syntax(ts):
|
||||
syntax(js):
|
||||
`{ provide: MyValue, useValue: 41 }`|`provide`|`useValue`
|
||||
description:
|
||||
Sets or overrides the provider for MyValue to the value 41.
|
||||
Sets or overrides the provider for `MyValue` to the value `41`.
|
||||
|
Reference in New Issue
Block a user