Skip to content

Commit 2916308

Browse files
committed
fixup! refactor: stronger typing of inputs
1 parent ad67fc4 commit 2916308

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,8 +244,9 @@ export interface RenderComponentOptions<ComponentType, Q extends Queries = typeo
244244
* await render(AppComponent, {
245245
* inputs: {
246246
* counterValue: 10,
247+
* // explicitly define aliases this way:
247248
* someAlias: aliasedInputWithValue('value')
248-
* }
249+
* })
249250
*/
250251
inputs?: ComponentInput<ComponentType>;
251252

0 commit comments

Comments
 (0)