Skip to content
Discussion options

You must be logged in to vote

Hi @Krishnaag23

That is not a bug.
We do not support types for commonjs.

see :


You might have your project configured to use commonjs, even when you can use the import foo form 'foo' syntax.

If you want typings then you need to configure your project to use es modules.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@romainmenke
Comment options

Answer selected by Krishnaag23
@Krishnaag23
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants