Method
eq
(
compare: Extract<
FlexRenderTypedContent,
{ kind: 'primitive' | 'templateRef' }
>,
)
Source from the content-addressed store, hash-verified
| 108 | } |
| 109 | |
| 110 | override eq( |
| 111 | compare: Extract< |
| 112 | FlexRenderTypedContent, |
| 113 | { kind: 'primitive' | 'templateRef' } |
| 114 | >, |
| 115 | ): boolean { |
| 116 | return ( |
| 117 | (this.content.kind === 'primitive' && |
| 118 | compare.kind === 'primitive' && |
| 119 | this.content.content === compare.content) || |
| 120 | (this.content.kind === 'templateRef' && |
| 121 | compare.kind === 'templateRef' && |
| 122 | this.content.content === compare.content) |
| 123 | ) |
| 124 | } |
| 125 | } |
| 126 | |
| 127 | export class FlexRenderComponentView extends FlexRenderView< |
Tested by
no test coverage detected