Skip to content

Consistent type import #382

@basmasking

Description

@basmasking

When importing a type, we sometimes do it as import type { DataModel } from './types' and sometimes as import { DataModel } from './types'.

For readability and consistency, we want all the type imports to the first pattern (that includes the type in the import).

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions