Node.js · Senior · Question 55 of 75

How does Node.js handle enum and namespace when running TypeScript with type stripping?

Explanation

Type stripping only removes types. TypeScript's erasableSyntaxOnly option lets the compiler flag such syntax in advance.

Further reading

Problem with a question

Node.js · Senior · question 55

Test yourself

Take the Node.js · Senior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz