Skip to content

Conversation

tennox
Copy link
Contributor

@tennox tennox commented Mar 27, 2024

Fixes #379
allows to do:

import type { Strapi4RequestParams } from "@nuxtjs/strapi";

const useProducts = (filters: StrapiRequestParams['filters']) => useStrapi(...)

Types of changes

  • Bug fix (a non-breaking change which fixes an issue)

Checklist:

  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes (if not applicable, please state why)

allows to do:

```typescript
import type { Strapi4RequestParams } from "@nuxtjs/strapi";

const useProducts = (filters: StrapiRequestParams['filters']) => useStrapi(...)
```
Copy link

netlify bot commented Mar 27, 2024

👷 Deploy request for nuxt-strapi-module pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 36c6d24

@benjamincanac benjamincanac changed the title fix: export runtime types fix(module): export runtime types Mar 27, 2024
@benjamincanac benjamincanac merged commit d0f8416 into nuxt-modules:dev Mar 27, 2024
@benjamincanac benjamincanac mentioned this pull request Apr 2, 2024
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.

Error when Typing request parameters variable (Strapi4RequestParams)
2 participants