Let's say that I have a class in another file that I would like to import to use its types
import type { Component } from "react";
The makes sense since Component is a class.
What if I'm importing an interface, is the import type still required? or is Typescript aware that interfaces have no value and so the type is not required.
import type { IHttpResponse } from "../lib/http";
The compiler does not complain if type is added and this kind of usage was not described in the docs