AK
Size: a a a
AK
AK
as any as React.ComponentClass<PropTypes>.as в конце, если можно просто анотировать let user: UserModel[]l
AK
M
МХ
PF
AK
МХ
МХ
МХ
МХ
с
МХ
с
c
МХ
МХ
PF
export class Game {
id: number;
home: string;
away: string;
score_home: number;
score_away: number;
// ещё до хера полей
}export class GameChanges {
id: number;
order: number | null;
score_home: number | null;
score_away: number | null;
in_play: boolean | null;
time: string | null;
// и т.д. - ещё до хера полей
}applyGameChanges (a:GameChanges) {
this.order = a.order ? a.order : this.order;
this.score_home = a.score_home ? a.score_home : this.score_home;
this.score_away = a.score_away ? a.score_away : this.score_away;
this.in_play = a.in_play ? a.in_play : this.in_play;
// и т.д.
};J