T
T
tyoma_koder2021-08-24 16:32:34
typescript
tyoma_koder, 2021-08-24 16:32:34

Why do Typescript Errors occur in ionic?

when building an empty project on ionic, a lot of errors like "expected ;", all errors in the node_modules/@types folder. If you rename the @types folder, then everything works.
node v10.17.0
typescript -version 3.2.4
ionic -v5.4.4
cordova -v9.0.0 ([email protected])

Answer the question

In order to leave comments, you need to log in

1 answer(s)
T
tyoma_koder, 2021-08-25
@tyoma_koder

In the tsconfig.json project file, I added "types": [] to compilerOptions and it all worked

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question