No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

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

    Help
    1
    2
    673
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      jvik last edited by

      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;
      };
      
      1 Reply Last reply Reply Quote 0
      • J
        jvik last edited by

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

        1 Reply Last reply Reply Quote 0
        • First post
          Last post