Apollo client typescript problem - Binding element 'Vue' implicitly has an 'any' type.



  • I am running Quasar 1.0.0 and I have installed Quasar-Typescript 1.0.0-alpha.14.

    When trying to install an Apollo Client I am doing an export on the end of the file which is giving some type errors. Any Idea how I can solve this?

    Binding element ‘app’ implicitly has an ‘any’ type.
    Binding element ‘Vue’ implicitly has an ‘any’ type.

    export default ({ app, Vue }) => {
    	Vue.use(VueApollo);
    	app.apolloProvider = apolloProvider;
    };
    


  • okay. So “strict” was set to true in tsconfig. Disabled this and my headaches disappeared.


Log in to reply