Skip to content

feat(core): start fetchers TypeScript migration (retryer generic + gist)#370

Open
marcalexiei wants to merge 1 commit into
stats-organization:masterfrom
marcalexiei:core-ts
Open

feat(core): start fetchers TypeScript migration (retryer generic + gist)#370
marcalexiei wants to merge 1 commit into
stats-organization:masterfrom
marcalexiei:core-ts

Conversation

@marcalexiei

Copy link
Copy Markdown

Another step of #140, continues #322.
Starts migrating fetchers/.

  • retryer is now generic over the response payload: retryer<TData>(…) returns AxiosResponse<TData & ResponseErrors> so callers get their own response.data shape while the retryer still reads errors/message.
    Defaults to unknown so existing callers are unaffected.
  • src/fetchers/types.d.ts ➡️ types.ts (references are extensionless, so they resolve unchanged).
  • gist fetcher + test ➡️ .ts, using retryer<GistQueryResponse>(…).

@vercel

vercel Bot commented Jul 16, 2026

Copy link
Copy Markdown

@marcalexiei is attempting to deploy a commit to the martin-mfg's projects Team on Vercel.

A member of the Team first needs to authorize it.

Comment thread .vscode/settings.json
"editor.formatOnSave": true,
"editor.defaultFormatter": "esbenp.prettier-vscode",
"[javascript]": {
"editor.tabSize": 2,

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I removed this line since it's redundant with the repository prettier config:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant