TypeScript type definitions are outdated
See original GitHub issue- I have searched the issues of this repository and believe that this is not a duplicate.
Reproduction link
Steps to reproduce
try to run npm run tsc
from latest master and you’ll notice difference between published and generated type definitions
What is expected?
types generated are correct
What is actually happening?
e.g. Line doesn’t have data
and many other type definitions missed, it can be fixed easily with just npm run tsc && npm publish
Environment | Info |
---|---|
Recharts | v2.0.3 |
React | 16 |
System | macOS |
Browser | any |
I can help with automation if you want to review/accept a PR
Issue Analytics
- State:
- Created 3 years ago
- Reactions:5
- Comments:8 (6 by maintainers)
Top Results From Across the Web
TypeScript definitions are out of date · Issue #102 · eemeli/yaml
The DefinitelyTyped TS definitions haven't been updated since the 1.0 release last fall, and the library's API has expanded a bit since then....
Read more >Serverless service file Typescript definitions will never be ...
Serverless service file Typescript definitions will never be outdated again! Since v1. 72.0, the Serverless framework accepts serverless.
Read more >Documentation - Advanced Types - TypeScript
This page lists some of the more advanced ways in which you can model types, it works in tandem with the Utility Types...
Read more >TypeScript With Fewer Types?. Why we should avoid writing ...
Spending time managing types, specifically in the scenarios listed above, is typically not productive. Outdated API Type Definitions. Let's say ...
Read more >How to overwrite incorrect TypeScript type definition installed ...
ts using npm install @types/dotenv --save . Then I realize that the types are not correct. For example, the config() function doesn't return...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@avindra I meant to say, that PR I referenced updated some existing types and added new ones - the published package contained these changes (under
types/src
), but it also contained the old, outdated definitions (undertypes
).Unfortunately I do not have publish access, so I can’t do anything. @xile611 or @arcthur are the only 2 with that AFAIK.