Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect type of locale when using locally scoped useI18n composable #1304

Closed
4 tasks done
DamianGlowala opened this issue Jan 9, 2023 · 0 comments · Fixed by #1309
Closed
4 tasks done

Incorrect type of locale when using locally scoped useI18n composable #1304

DamianGlowala opened this issue Jan 9, 2023 · 0 comments · Fixed by #1309
Labels
🔨 p3-minor-bug Priority 3: a bug in an edge case that only affects very specific usage Status: PR Welcome Welcome to Pull Request typescript

Comments

@DamianGlowala
Copy link
Contributor

Reporting a bug?

image

vs

image

Expected behavior

Correct types for locale when using locally scoped useI18n composable

Reproduction

n/a

System Info

------------------------------
- Operating System: `Windows_NT`
- Node Version:     `v16.17.0`
- Nuxt Version:     `3.0.1-rc.0-27848798.0cb9a4c`
- Nitro Version:    `2.0.0-27847631.8186a02`
- Package Manager:  `npm@8.19.3`
- Builder:          `vite`
- User Config:      `modules`, `css`, `app`, `i18n`, `googleFonts`, `fontMetrics`, `headlessui`, `image`, `build`, `typescript`, `runtimeConfig`, `security`, `nitro`
- Runtime Modules:  `@nuxtjs/tailwindcss@6.2.0`, `@nuxtjs/i18n@8.0.0-beta.7-27867903.cc6cc78`, `@nuxtjs/google-fonts@3.0.0-1`, `nuxt-headlessui@1.0.4`, `@vueuse/nuxt@9.9.0`, `@formkit/nuxt@1.0.0-beta.12`, `nuxt-icon@0.1.8`, `@nuxtjs/fontaine@0.2.4`, `@nuxt/image-edge@1.0.0-27840416.dc1ed65`
- Build Modules:    `-`
------------------------------

Screenshot

No response

Additional context

No response

Validations

@DamianGlowala DamianGlowala added the Status: Review Needed Request for review comments label Jan 9, 2023
@kazupon kazupon added Status: PR Welcome Welcome to Pull Request typescript 🔨 p3-minor-bug Priority 3: a bug in an edge case that only affects very specific usage and removed Status: Review Needed Request for review comments labels Jan 11, 2023 — with Volta.net
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔨 p3-minor-bug Priority 3: a bug in an edge case that only affects very specific usage Status: PR Welcome Welcome to Pull Request typescript
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants