npm i @npm.piece/types -D
yarn add @npm.piece/types -D
/// <reference types="@npm.piece/types/global" />
/// <reference types="@npm.piece/types/frontend" />
/// <reference types="@npm.piece/types/backend" />
type Nullable<T> = T | null | undefined
type Callback<Value = void | unknown, ReturnType = void> = (
value: Value
) => ReturnType
type UnknownCallback = (...args: any[]) => any
// Function Component
type FC<T = {}> = FunctionComponent<T & ChildrenType>
// Container Component
type CC<T = {}> = () => T
// Service Component
type SC = () => void
type ImportedMF<T = {}> = FC<T & MFPropsType>