TypeScript tip: Sometimes a type's name conflicts with an existing identifier


TypeScript tip: Sometimes a type's name conflicts with an existing identifier.

When this happens, I alias the type's name:

import { Link as LinkType } from "./types";

View original on X