EnhamcePreflightFn is wrong
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 62/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Stale
- Tech stack
- typescript
- Domain
- api
Research direction
Search the repository for EnhancePreflightFn and inspect its surrounding type definitions. Compare the callback parameter shape with the linked Enhance preflight documentation, update the type if confirmed, and run the repository's available TypeScript checks or tests.
Written by the indexing model from the issue text.
Description
Currently it is:
export type EnhancePreflightFn = (
payload: EnhanceApiReq,
) => Promise<Record<string, any>> | Record<string, any>;
Looks like it should be
export type EnhancePreflightFn = ({
req: EnhanceApiReq,
}) => Promise<Record<string, any>> | Record<string, any>;
- Dominant language
- TypeScript
- Stars
- 8
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from enhance-dev/types
-
enhance-dev/types#4 · 1 assignee ·
-
TS namespace? Open
Difficulty 5/5 Over a week Newbie friendliness 20/100
enhance-dev/types#1 ·
All issues in enhance-dev/types
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
copse-dev/agent-pane#2953 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
bug clawsweeper:linked-pr-open clawsweeper:needs-live-repro clawsweeper:no-new-fix-pr impact:message-loss issue-rating: 🐚 platinum hermit P2 regression
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
calcite-components needs triage refactor
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Esri/calcite-design-system#15203 ·