Type definitions are broken with latest TypeScript version (starting from 3.0.0)
See original GitHub issueUpgrading TypeScript from 3.2.4 to 3.3.3 is causing the following problems:
node_modules/honeycomb-grid/dist/honeycomb.d.ts:1:44 - error TS2744: Type parameter defaults can only reference previously declared type parameters.
declare function defineGrid<T = HexFactory<T>>(Hex?: HexFactory<T>): GridFactory<Hex<T>>
node_modules/honeycomb-grid/dist/honeycomb.d.ts:36:27 - error TS2744: Type parameter defaults can only reference previously declared type parameters.
export class Grid<T = Hex<T>> extends Array<T> {
For more information please check this issue in the TypeScript repository.
Thanks
Issue Analytics
- State:
- Created 5 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
TypeScript 3.0 — what has come? - ITNEXT
In TypeScript 3.0 we can identify just five changes affecting the way you can use the language. Only one of those is flagged...
Read more >Announcing TypeScript 3.0 - Microsoft Developer Blogs
Despite the new big number, 3.0 has few breaking changes (meaning it should be very easy to upgrade) and introduces a new flexible...
Read more >What TypeScript version is Visual Studio Code using? How to ...
In particular, I had been using TypeScript 1.8.10 and VSCode 1.4.0. I first updated VSCode to the latest version, which was 1.5.3. But...
Read more >ts-custom-error - npm
doesn't work as expected in ES6 and is broken in Typescript. Use CustomError class. Simply extends and call super in you custom constructor....
Read more >Documentation - TypeScript 4.7
TypeScript 4.7 Release Notes. ... Node.js supports a new setting in package.json called type . "type" can be set to either "module" or...
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
Thanks for reminding me 😅 I’ve just released 1.4.4
Thanks 👍