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

fix: support typescript 4.8 #412

Open
dargmuesli opened this issue Aug 29, 2022 · 0 comments
Open

fix: support typescript 4.8 #412

dargmuesli opened this issue Aug 29, 2022 · 0 comments

Comments

@dargmuesli
Copy link

In typescript 4.8 the decorator notation seems to have changed: https://devblogs.microsoft.com/typescript/announcing-typescript-4-8/#decorators-are-placed-on-modifiers-on-typescripts-syntax-trees
This leads to the following error in my project:

#19 12.35 /srv/app/layouts/default.vue
#19 12.35   99:8  error  No default export found in imported module "~/store/modules/PlayerModule"  import/default
#19 12.35 
#19 12.35 /srv/app/pages/player/index.vue
#19 12.35   101:8  error  No default export found in imported module "~/store/modules/PlayerModule"  import/default
#19 12.35 
#19 12.35 /srv/app/store/modules/PlayerModule.ts
#19 12.35    1:10  error  'Module' is defined but never used        @typescript-eslint/no-unused-vars
#19 12.35    1:30  error  'Mutation' is defined but never used      @typescript-eslint/no-unused-vars
#19 12.35   10:22  error  'PlayerModule' is defined but never used  @typescript-eslint/no-unused-vars
#19 12.35 
#19 12.35 /srv/app/utils/store-accessor.ts
#19 12.35   3:8  error  No default export found in imported module "~/store/modules/PlayerModule"  import/default

source

It would be cool to have ts 4.8 supported by vuex-module-decorators.

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

No branches or pull requests

1 participant