Glossary: React Beyond the Basics
import type
Also written: type-only import
A way to import something that exists only as a type. The react-ts template requires it because types vanish when the code runs.
Glossary: React Beyond the Basics
Also written: type-only import
A way to import something that exists only as a type. The react-ts template requires it because types vanish when the code runs.