Skip to content

Commit ddd8ab0

Browse files
committed
chore: fix annotation
1 parent 4cbb345 commit ddd8ab0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/main.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ beforeAll(async () => {
1010
if (semver.lt(nodeVersion, '18.0.0')) {
1111
const nodeFetch = await import('node-fetch')
1212

13-
// @ts-ignore Expected type mismatch between native implementation and node-fetch
13+
// @ts-expect-error Expected type mismatch between native implementation and node-fetch
1414
globalThis.fetch = nodeFetch.default
15-
// @ts-ignore Expected type mismatch between native implementation and node-fetch
15+
// @ts-expect-error Expected type mismatch between native implementation and node-fetch
1616
globalThis.Request = nodeFetch.Request
17-
// @ts-ignore Expected type mismatch between native implementation and node-fetch
17+
// @ts-expect-error Expected type mismatch between native implementation and node-fetch
1818
globalThis.Response = nodeFetch.Response
1919
globalThis.Headers = nodeFetch.Headers
2020
}

0 commit comments

Comments
 (0)