Skip to content

TypeScript 6.x issues #983

@vitaly-t

Description

@vitaly-t

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.

Image
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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions