Closed qm3ster closed 7 years ago
@qm3ster
Sorry for late reply...
Is this problem still unsolved yet?
Maybe I had a low Vue version. I will reopen this if it happens again, I am on a very different setup now.
I had something very similar with import { uniq, sortBy } from 'lodash';
and the hint with noImplicitAny
helped for me. Thanks!
But as I am not using Vue at all in that project, it looks to me like Vue is not related to this issue. Btw, I had similar issues with other modules not being found (at all), e.g. mobx-react. Which were also solved this way.
Subscribing to this just in case someone finds out the real reason.
When importing, eg
with
I get the following error:
On the other hand, clicking on the module name in VSCode takes me to
lib/vue-property-decorator.d.ts
And everything works correctly with
noImplicitAny: false
Finally,
allowSyntheticDefaultImports
has no effect, although vuejs/vue-class-component#usage claims that it needs to betrue