Typescript errors with captureFetchGlobal
Open
- Dominant language
- JavaScript
- Stars
- 280
- Forks
- 157
- PR merge metrics
- No merged PRs in 30d
Description
When importing the `captureFetchGlobal`:
```ts
import { captureFetchGlobal } from "aws-xray-sdk-fetch";
const myFetch = captureFetchGlobal();
```
This triggers eslint errors:
```
Unsafe assignment of an `any` value.
```
And then when calling it:
```
Unsafe return of an `any` typed value.
Unsafe call of an `any` typed value.
```
Is there any way around this?
Contributor guide
Assessment
This issue has not been assessed yet.