Skip to content

Could not find a declaration file for module './vue-apollo' #278

@sneko

Description

@sneko

Hi,

I don't understand why but when I'm trying to serve the project I get:

ERROR in E:/meta-front/app/src/main.ts
6:32 Could not find a declaration file for module './vue-apollo'. 'E:/meta-front/app/src/vue-apollo.js' implicitly has an 'any' type.
    4 | import store from './store';
    5 | import './registerServiceWorker';
  > 6 | import { apolloProvider } from './vue-apollo'
      |                                ^
    7 |
    8 | Vue.config.productionTip = false;
    9 |
Version: typescript 2.8.3, tslint 5.10.0

That's really weird since you add TypeScript support in Decembrer #160 and that I checked types were ./node_modules/vue-apollo/types/

Do you have any idea to help me please 😃 ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions