Comments (6)
Same. Relevant version:
"types/d3": "5.0.0"
"d3": "5.4.0"
"d3-dsv": "1.0.8"
from d3-dsv.
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.
Adding the line:
@types/d3-dsv": "1.0.32",
to package.json
worked around the problem for us.
from d3-dsv.
This seems like a TypeScript or Angular issue, rather than a d3-dsv issue, so closing.
from d3-dsv.
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.
@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)
- csv2json cli throws error when using --auto-type
- Add shoutout to d3.autoType in d3.parse documentation
- TypeError: Cannot read property 'trim' of undefined HOT 3
- dsv.parse's returned columns property doesn't reflect row conversion function HOT 4
- Use Object.fromEntries to convert arrays into objects? HOT 1
- date tests fail HOT 2
- Export individual "formatRow" and "formatValue" functions HOT 5
- Avoid "Function" constructor HOT 1
- Add documentation about CSP incompatibility HOT 1
- Could we possibly add a ssv() or wssv()? HOT 4
- [RFC] Split out the CLI to a separate package HOT 3
- Repeated columns names erase each other for xParse HOT 6
- wrong parsing d3.tsvParse with only number header HOT 4
- d3.autotype: keep leading 0 HOT 1
- Option to quote empty strings? HOT 1
- Error: Must use import to load ES Module HOT 4
- Potential performance issue - Columns property added to returned array from dsv.parse could lose browser engine optimization on array operations HOT 1
- Column data will be lost if the column name is the same HOT 1
- `objectConverter` can work without `Function`. HOT 1
- https://observablehq.com/@mbostock/streaming-csv HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from d3-dsv.