Strict TS deems it an error to import a type without import type. For example:
Error: This import is never used as a value and must use 'import type' because 'importsNotUsedAsValues' is set to 'error'.
import type {TourGuideClient} from "../Tour";
import {TourGuideStep} from "../types/TourGuideStep";
So this PR changes all the places where that was just an import before so no longer throws any TS errors for people using the strict setting in their TSConfig.
Strict TS deems it an error to import a type without
import type
. For example:So this PR changes all the places where that was just an
import
before so no longer throws any TS errors for people using the strict setting in their TSConfig.