Skip to content

Commit

Permalink
adding description for ts-ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
rdeavila94 committed Jan 2, 2024
1 parent 236ccc8 commit 6ebca8e
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -526,8 +526,7 @@ describe('fetch', () => {
const init = {
headers: new Map().set('foo', 'bar'),
};
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
/** @ts-ignore */
/** @ts-ignore variable init not of RequestInit type*/
window.fetch(url, init).catch(() => {});
assert.ok(init.headers.get('foo') === 'bar');
});
Expand Down

0 comments on commit 6ebca8e

Please sign in to comment.