A
A
Artem2019-04-14 22:20:03
typescript
Artem, 2019-04-14 22:20:03

Why doesn't typescript allow modules from index by default?

5cb3879a6b714869450568.png5cb387b3bb0c7097575131.png
Something broke, but I don’t understand what
Should resolve paths from index.ts by default?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Artem, 2019-04-14
@Cruper

{
  "compilerOptions": {
    "module": "commonjs",
    ...
  },
  ...
}

Problem in typescript config

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question