@@ -50,7 +50,7 @@ interface FlexRenderOptions<
5050 * })
5151 * ```
5252 */
53- bindings ?: Array < Binding >
53+ readonly bindings ?: Array < Binding >
5454 /**
5555 * Directives to apply to the component at creation time.
5656 *
@@ -82,28 +82,28 @@ interface FlexRenderOptions<
8282 * })
8383 * ```
8484 */
85- directives ?: CreateComponentDirectives
85+ readonly directives ?: CreateComponentDirectives
8686 /**
8787 * Component instance inputs.
8888 *
8989 * These values are assigned after the component has been created using
9090 * [componentRef.setInput API](https://angular.dev/api/core/ComponentRef#setInput).
9191 *
92- * Shouldn't be used together with {@link FlexRenderOptions#binding } option
92+ * Shouldn't be used together with {@link FlexRenderOptions#bindings } option
9393 */
94- inputs ?: TInputs
94+ readonly inputs ?: TInputs
9595 /**
9696 * Component instance outputs.
9797 *
9898 * Outputs are wired imperatively after component creation using {@link OutputEmitterRef#subscribe}.
9999 *
100- * Shouldn't be used together with {@link FlexRenderOptions#binding } option
100+ * Shouldn't be used together with {@link FlexRenderOptions#bindings } option
101101 */
102- outputs ?: TOutputs
102+ readonly outputs ?: TOutputs
103103 /**
104104 * Optional {@link Injector} that will be used when rendering the component
105105 */
106- injector ?: Injector
106+ readonly injector ?: Injector
107107}
108108
109109type Inputs < T > = {
@@ -178,7 +178,7 @@ export function flexRenderComponent<TComponent = any>(
178178 * return flexRenderComponent(MyComponent, {
179179 * inputs: { value: mySignalValue() },
180180 * outputs: { valueChange: (val) => {} }
181- * // or using angular createComponent#binding api
181+ * // or using angular createComponent#bindings api
182182 * bindings: [
183183 * inputBinding('value', mySignalValue),
184184 * outputBinding('valueChange', value => {
0 commit comments