[BUG] `this` context not available in typescript definitions
Open
bug
- Dominant language
- JavaScript
- Stars
- 13.4k
- Forks
- 518
- Avg merge
- 2d 4h
- Merged PRs (30d)
- 2
Description
## Expected Behavior
inside a batch load function, `this` should refer to the data loader instance
## Current Behavior
`this` is not typed inside the batch load function
## Possible Solution
## Steps to Reproduce
attempt to use `this` in a batch loader function, see that typescript complains
## Context
my api call gives me back excess properties, so i want to prime my data loader with the excess data inside my batch function.
Contributor guide
Assessment
This issue has not been assessed yet.