Skip to content

homework#157

Open
radmiry wants to merge 1 commit intonickovchinnikov:masterfrom
radmiry:feature/type-homework
Open

homework#157
radmiry wants to merge 1 commit intonickovchinnikov:masterfrom
radmiry:feature/type-homework

Conversation

@radmiry
Copy link

@radmiry radmiry commented Jan 29, 2023

No description provided.

// eslint-disable-next-line @typescript-eslint/no-explicit-any
type FIXME = any;

type InitialOrder = {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

тут можно вот так

type FIXME = Extract<Order, { state: "initial" | "inWork" }>;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants