Coder Social home page Coder Social logo

Comments (6)

roymil avatar roymil commented on May 2, 2024

Same. Relevant version:
"types/d3": "5.0.0"
"d3": "5.4.0"
"d3-dsv": "1.0.8"

from d3-dsv.

thesourcerer avatar thesourcerer commented on May 2, 2024

Same:

 "@types/d3": "4.10.0",
    "d3": "4.2.7",

Compiling...
Using tsc v2.5.2
d:/YYY/ZZZ/XXX/node_modules/@types/d3-request/index.d.ts(8,10): error TS2305: Module '"d:/YYY/ZZZ/XXX/node_modules/@types/d3-dsv/index"' has no exported member 'DSVParsedArray'.
d:/YYY/ZZZ/XXX/node_modules/@types/d3-request/index.d.ts(8,26): error TS2305: Module '"d:/YYY/ZZZ/XXX/node_modules/@types/d3-dsv/index"' has no exported member 'DSVRowString'.
d:/YYY/ZZZ/XXX/node_modules/@types/d3-request/index.d.ts(8,40): error TS2305: Module '"d:/YYY/ZZZ/XXX/node_modules/@types/d3-dsv/index"' has no exported member 'DSVRowAny'.
d:/YYY/ZZZ/XXX/node_modules/@types/d3-request/index.d.ts(8,57): error TS2497: Module '"d:/YYY/ZZZ/XXX/node_modules/@types/d3-dsv/index"' resolves to a non-module entity and cannot be imported using this construct.
d:/YYY/ZZZ/XXX/node_modules/@types/d3/index.d.ts(16,15): error TS2498: Module '"d:/YYY/ZZZ/XXX/node_modules/@types/d3-dsv/index"' uses 'export =' and cannot be used with 'export *'.

from d3-dsv.

thesourcerer avatar thesourcerer commented on May 2, 2024

Adding the line:

@types/d3-dsv": "1.0.32",

to package.json
worked around the problem for us.

from d3-dsv.

mbostock avatar mbostock commented on May 2, 2024

This seems like a TypeScript or Angular issue, rather than a d3-dsv issue, so closing.

from d3-dsv.

thesourcerer avatar thesourcerer commented on May 2, 2024

I was under the impression that it was caused due to the fact that for @types/d3-dsv, version 0.4.4 was published a bit after 1.0.32, which made things confusing as to which one is the latest,
and this is why giving the "hint" @types/d3-dsv": "1.0.32", in package.json resolved the issue.
Why are the releases jumping between major 0 and major 1 ? seems a bit odd.

from d3-dsv.

tomwanzek avatar tomwanzek commented on May 2, 2024

@thesourcerer This was an issue with the DefinitelyTyped publication pipeline for TS definitions. A bug fix in the @types/d3-dsv 0.4.x got published and changed the latest property of the definitions package. The issue has since been addressed.

from d3-dsv.

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.