Skip to content

Commit

Permalink
fix: update description in JSDocs (#489)
Browse files Browse the repository at this point in the history
  • Loading branch information
timdeschryver authored Aug 23, 2024
1 parent c9ffa6a commit eb4fc74
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions projects/testing-library/src/lib/models.ts
Original file line number Diff line number Diff line change
Expand Up @@ -254,10 +254,11 @@ export interface RenderComponentOptions<ComponentType, Q extends Queries = typeo
*
* @example
* await render(AppComponent, {
* inputs: {
* counterValue: 10,
* // explicitly define aliases this way:
* ...aliasedInput('someAlias', 'someValue')
* inputs: {
* counterValue: 10,
* // explicitly define aliases using aliasedInput
* ...aliasedInput('someAlias', 'someValue')
* }
* })
*/
inputs?: ComponentInput<ComponentType>;
Expand Down Expand Up @@ -292,7 +293,7 @@ export interface RenderComponentOptions<ComponentType, Q extends Queries = typeo
* const sendValue = (value) => { ... }
* await render(AppComponent, {
* on: {
* send: (_v:any) => void
* send: (value) => sendValue(value)
* }
* })
*/
Expand Down

0 comments on commit eb4fc74

Please sign in to comment.