Skip to content

Commit

Permalink
fix: type rerender as Promise<void> (#310)
Browse files Browse the repository at this point in the history
  • Loading branch information
mateusduraes authored Aug 1, 2022
1 parent 4d84110 commit de1778b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion projects/testing-library/src/lib/models.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export interface RenderResult<ComponentType, WrapperType = ComponentType> extend
* Re-render the same component with different properties.
* This creates a new instance of the component.
*/
rerender: (rerenderedProperties: Partial<ComponentType>) => void;
rerender: (rerenderedProperties: Partial<ComponentType>) => Promise<void>;

/**
* @description
Expand Down

0 comments on commit de1778b

Please sign in to comment.