We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://github.com/testing-library/angular-testing-library/blob/master/projects/testing-library/src/lib/testing-library.ts#L16
There is no explicit type for render function declaration and typescript generates this declaration type file:
// testing-library.d.ts import { Type } from '@angular/core'; import { RenderOptions } from './models'; export declare function render<T>(template: string, renderOptions: RenderOptions<T>): any; export declare function render<T>(component: Type<T>, renderOptions?: RenderOptions<T>): any;
Could you specify their return types with RenderResult?
RenderResult
The text was updated successfully, but these errors were encountered:
Thanks for addressing this, this is indeed wrong and the return type should be Promise<RenderResult>.
Promise<RenderResult>
Do you want to create a Pull Request with a fix?
Sorry, something went wrong.
Sure, I'll fix it.
79cd685
🎉 This issue has been resolved in version 7.0.2 🎉
The release is available on:
npm package (@latest dist-tag)
Your semantic-release bot 📦🚀
No branches or pull requests
https://github.com/testing-library/angular-testing-library/blob/master/projects/testing-library/src/lib/testing-library.ts#L16
There is no explicit type for render function declaration and typescript generates this declaration type file:
Could you specify their return types with
RenderResult
?The text was updated successfully, but these errors were encountered: