Skip to content

Commit

Permalink
fix: description in JSDocs
Browse files Browse the repository at this point in the history
  • Loading branch information
timdeschryver committed Aug 22, 2024
1 parent 460fb32 commit 445b7f3
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 445b7f3

Please sign in to comment.