Skip to content

Commit

Permalink
fix: add lint ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
pichlermarc committed Jan 25, 2024
1 parent cdedeb8 commit b6b6c9d
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,8 @@ describe('fetch', () => {
const init = {
headers: new Map().set('foo', 'bar'),
};
/** @ts-ignore variable init not of RequestInit type*/
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @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 b6b6c9d

Please sign in to comment.