With TypeScript up to version 5.9 I was able to include extra types like this:
import {Interval} from 'node-binance-api/dist/types';
because they are not exposed from the root.
Now with TypeScript 6.x released, I cannot get it to work.
error TS2307: Cannot find module 'node-binance-api/dist/types' or its corresponding type declarations.
4 import {Interval} from 'node-binance-api/dist/types';
I wonder if it is somehow configuration issue on my side, or something in TypeScript that no longer allows such imports?
Any help is much appreciated.
P.S. I did follow general TypeScript v 6.0 recommendations, plus other sources, but specifically with this library, no luck.
With TypeScript up to version 5.9 I was able to include extra types like this:
because they are not exposed from the root.
Now with TypeScript 6.x released, I cannot get it to work.
I wonder if it is somehow configuration issue on my side, or something in TypeScript that no longer allows such imports?
Any help is much appreciated.
P.S. I did follow general TypeScript v 6.0 recommendations, plus other sources, but specifically with this library, no luck.