Closed yhnavein closed 4 years ago
And it seems that the same error appears in the version 0.11.1
Version 0.10.2
works fine
👍 Thanks for reporting this, fixed the import in 0.12.1, let me know if it works for you.
Cheers,
I am seeing this exact issue with the latest version (0.17.4) also whilst using TypeScript.
TypeScript error in C:/dev/,myapp/node_modules/react-virtuoso/dist/VirtuosoGrid.d.ts(2,29):
Cannot find module 'tinyrx' or its corresponding type declarations. TS2307
1 | import React, { CSSProperties, ReactElement } from 'react';
> 2 | import { TSubscriber } from 'tinyrx';
@EdwardSalter - sorry about that, should be fixed in 0.17.5
.
@petyosi - Thank you for that. Do you have an estimate on when that will be released?
EDIT: I have updated and all is right with the world again. Many thanks for the very quick turnaround! 👍
When upgraded to the latest version (0.12.0), my app is not buildable by TypeScript because of the following error:
I can see that
react-virtuoso
does not refer to thetinyrx
as its dependency.