Skip to content

Export RequestConfig and related types #9

@simplesmiler

Description

@simplesmiler

Use case:

// No public type for this
const config = {
  params: { ... },
  axios: { ... },
};

if (condition) {
  await taxios.$get('/v1/endpoint-one', config);
} else {
  await taxios.$get('/v1/endpoint-two', config);
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions