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 3, 2024
1 parent fb6d8dc commit d300b82
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 d300b82

Please sign in to comment.