TypeScript · Middle · Question 71 of 75

What does export type * from './types' do (TS 5.0+)?

Explanation

It's fully erased at compile time and pairs well with verbatimModuleSyntax and type-only barrels.

Further reading

Problem with a question

TypeScript · Middle · question 71

Test yourself

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

Take this quiz