N
N
Nikita Shchypylov2018-06-21 12:45:51
typescript
Nikita Shchypylov, 2018-06-21 12:45:51

Why does [ts] error occur in VS Code?

Hello.
For some reason I am getting this error. There is no TypeScript on the project.

spoiler
5b2b73c2a7772978322385.png

I would appreciate advice on how to fix this.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vitaly Stolyarov, 2018-06-21
@Ni55aN

Looks like it didn't make it into the spec.
Write like this:

import Filter from './filter';
export default Filter;

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question