Skip to content

Lesson3/homework#163

Open
dgolovko97 wants to merge 2 commits intonickovchinnikov:masterfrom
dgolovko97:lesson3/homework
Open

Lesson3/homework#163
dgolovko97 wants to merge 2 commits intonickovchinnikov:masterfrom
dgolovko97:lesson3/homework

Conversation

@dgolovko97
Copy link

No description provided.


// eslint-disable-next-line @typescript-eslint/no-explicit-any
type FIXME = any;
type OrderState = { [P in keyof Order]: Order[P] }["state"];

Choose a reason for hiding this comment

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

ну явно же Order['stateэ], зачем городить велосипед


// eslint-disable-next-line @typescript-eslint/no-explicit-any
type FIXME = any;
type FIXME<T, K extends number | symbol | string> = Omit<T, K>;

Choose a reason for hiding this comment

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

давай extend подправим

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