Tag: TypeScript

  • Import type

    by

    in

    Wild TypeScript caveat appeared! In a destructuring type import, it apparently makes a difference whether the type keyword is inside or outside the curly braces: import type { A } from “a” – import skipped import { type A } from “a” – the import remains It seems this is designed for cases where the…