Skip to content

Commit

Permalink
chore: better typescript assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
gtk-grafana committed Sep 4, 2024
1 parent 6ed167d commit aa04db0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/datasource.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ describe('datasource', () => {
],
};

// @ts-ignore
//@ts-expect-error
datasource.getResource = (path, params, options) => {
const detectedFieldResponse: DetectedFieldsResponse = detectedFieldsResponse;
return Promise.resolve(detectedFieldResponse);
Expand Down

0 comments on commit aa04db0

Please sign in to comment.