Giter VIP home page Giter VIP logo

Comments (4)

jaydenseric avatar jaydenseric commented on June 4, 2024

This package has TypeScript types baked into the exported modules via TypeScript style JSDoc comments, please see the TS config requirements to get the types working correctly in your project:

https://github.com/jaydenseric/apollo-upload-client/tree/v18.0.1?tab=readme-ov-file#requirements

You can see an explanation why it's done this way here:

#338 (comment)

from apollo-upload-client.

tyc15129 avatar tyc15129 commented on June 4, 2024

yes i see we have @types/apollo-upload-client but it has depenedices @appllo/client

"dependencies": {
    "@apollo/client": "^3.8.0",
    "@types/extract-files": "*",
    "graphql": "14 - 16"
},

from apollo-upload-client.

tyc15129 avatar tyc15129 commented on June 4, 2024

for now @apollo/client is 3.9.5, can we need to update the range of dependency

from apollo-upload-client.

jaydenseric avatar jaydenseric commented on June 4, 2024

@types/apollo-upload-client shouldn't be used; nowadays the package apollo-upload-client contains it's own types, baked into the exported modules as TypeScript flavour JSDoc comments.

for now @apollo/client is 3.9.5, can we need to update the range of dependency

Perhaps you're confused. "@apollo/client": "^3.8.0", matches @apollo/client v3.9.5, because of the ^.

from apollo-upload-client.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.