Skip to content

Instantly share code, notes, and snippets.

View almazmusic's full-sized avatar

Dmytro Shapoval almazmusic

  • Ukraine
  • 20:25 (UTC +03:00)
View GitHub Profile
import React from "react";
import { InjectedFormProps, reduxForm } from "redux-form";
type FormType = {
input1: string;
};
type ComponentProps = {};
type InjectedProps = InjectedFormProps<FormType, ComponentProps>;
@almazmusic
almazmusic / linkedtypes.ts
Created December 23, 2023 15:12
Linked keys and values
export type StatisticMetricType = "money" | "count" | "pct"
export type StatisticMetricBasic = {
amount: number
prevAmount: number | null
prevComparePercents: number | null
type: StatisticMetricType
}
export type StatisticMetricPPCEntities = {