mirror of
https://github.com/grafana/grafana.git
synced 2026-09-05 04:40:13 -05:00
Chore: more any/type assertion improvements (#57450)
* more friday any/type assertion improvements * Apply suggestions from code review Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com> * Update public/app/angular/promiseToDigest.test.ts Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com> Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com>
This commit is contained in:
co-authored by
Marcus Andersson
parent
8adbacb18e
commit
d2a70bc42d
@@ -29,7 +29,7 @@ const mockPost = jest.fn(() => {
|
||||
|
||||
setBackendSrv({
|
||||
post: mockPost,
|
||||
} as any as BackendSrv);
|
||||
} as unknown as BackendSrv);
|
||||
|
||||
const setup = () => {
|
||||
return render(<CreateTeam />);
|
||||
|
||||
Reference in New Issue
Block a user