Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add new BackgroundHandler type (#364)
Fixes netlify/docs#2328
`Promise<void>` is a valid return type for a function.
example:
```
const handler: Handler = async () => {
return;
}
```
I also added `tsd` to test for the types.
- Loading branch information