Daniel Roe

Results 2592 comments of Daniel Roe

nb to self: may be blocked by evanw/esbuild#297

Interesting question. I'm not sure we should be able to import/export dts files. I think we should always be operating with .ts files and generating the dts files in the...

https://devblogs.microsoft.com/typescript/announcing-typescript-4-2/#d-ts-extensions-cannot-be-used-in-import-paths

Try: ```ts @Module({ name: 'auth', stateFactory: true, namespaced: true, }) ``` For Nuxt usage you should match the filename and namespace of your module, so this module should be in...

@webcoderkz Either move the module to `~/store/auth.ts`, move it out of the `~/store` directory entirely, or pass it the namespace `modules/auth`.

@webcoderkz I believe the answer is there. In your case: ```ts @Module({ namespaced: true, name: 'modules/auth' }) ``` But I may be misunderstanding your question.

@webcoderkz Hm, not sure. Can you share a repro? FYI: I no longer use `vuex-module-decorators` but I'm very happy to take a look. :smiley:

@webcoderkz I think it's great - but I had to abandon because of [this issue](https://github.com/championswimmer/vuex-module-decorators/pull/157). However, a fix has now been merged and hopefully will be released soon. :smiley: