enhance-dev / enhance-dev/types

EnhamcePreflightFn is wrong

Open
#11 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
8
Forks
2
PR merge metrics
No merged PRs in 30d

Description

Currently it is:

```
export type EnhancePreflightFn = (
payload: EnhanceApiReq,
) => Promise> | Record;
```

Looks like it should be

```
export type EnhancePreflightFn = ({
req: EnhanceApiReq,
}) => Promise> | Record;
```

based on https://enhance.dev/docs/conventions/preflight

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.