Streamability icon indicating copy to clipboard operation
Streamability copied to clipboard

🏗️ Convert type imports to import type syntax

Open maxh1231 opened this issue 9 months ago • 0 comments

import type {
    Profile,
    ProfileActions,
    Session,
    ShowData,
    SeasonDetails,
    Episode,
    EpisodeDetails,
} from '../types';

I think it might be nice to start using import type where applicable. This will prevent types from accidentally being used as a value. This comment can apply to any other type imports. Also, I don't think this is an existing pattern in Streamability. Feel free to just create a ticket for someone to do this later on.

Originally posted by @Thenlie in https://github.com/Thenlie/Streamability/pull/1184#discussion_r2001294994

maxh1231 avatar Mar 18 '25 22:03 maxh1231