Skip to content

Commit 0533932

Browse files
authored
docs(cdk): fix example typos
1 parent 9ebbe9a commit 0533932

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

libs/cdk/render-strategies/docs/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -158,8 +158,8 @@ export class AnyModule {
158158
...
159159
import {RxRenderStrategiesConfig, RX_RENDER_STRATEGIES_CONFIG} from '@rx-angular/cdk/render-strategies';
160160

161-
const FEATURE_RX_ANGULAR_CONFIG: RxRenderStrategiesConfig<string> {
162-
primaryStrategy: 'global';
161+
const FEATURE_RX_ANGULAR_CONFIG: RxRenderStrategiesConfig<string> = {
162+
primaryStrategy: 'global',
163163
patchZone: false
164164
}
165165

@@ -182,8 +182,8 @@ export class AnyFeatureModule {
182182
...
183183
import {RxRenderStrategiesConfig, RX_RENDER_STRATEGIES_CONFIG} from '@rx-angular/cdk/render-strategies';
184184

185-
const COMPONENT_RX_ANGULAR_CONFIG: RxRenderStrategiesConfig<string> {
186-
primaryStrategy: 'global';
185+
const COMPONENT_RX_ANGULAR_CONFIG: RxRenderStrategiesConfig<string> = {
186+
primaryStrategy: 'global',
187187
patchZone: false
188188
}
189189

0 commit comments

Comments
 (0)