Skip to content

Commit eb4fc74

Browse files
fix: update description in JSDocs (#489)
1 parent c9ffa6a commit eb4fc74

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

projects/testing-library/src/lib/models.ts

+6-5
Original file line numberDiff line numberDiff line change
@@ -254,10 +254,11 @@ export interface RenderComponentOptions<ComponentType, Q extends Queries = typeo
254254
*
255255
* @example
256256
* await render(AppComponent, {
257-
* inputs: {
258-
* counterValue: 10,
259-
* // explicitly define aliases this way:
260-
* ...aliasedInput('someAlias', 'someValue')
257+
* inputs: {
258+
* counterValue: 10,
259+
* // explicitly define aliases using aliasedInput
260+
* ...aliasedInput('someAlias', 'someValue')
261+
* }
261262
* })
262263
*/
263264
inputs?: ComponentInput<ComponentType>;
@@ -292,7 +293,7 @@ export interface RenderComponentOptions<ComponentType, Q extends Queries = typeo
292293
* const sendValue = (value) => { ... }
293294
* await render(AppComponent, {
294295
* on: {
295-
* send: (_v:any) => void
296+
* send: (value) => sendValue(value)
296297
* }
297298
* })
298299
*/

0 commit comments

Comments
 (0)