import _ from 'lodash' ; declare global { /**
     * Optional value.
     */ export type Optional < T > = T | undefined ; /**
     * Serializable interface.
     */ export interface Serializable < T > { serialize ( ) : T ; } /**
     * Recursive Partial<T>.
     */ export type DeepPartial < T > = { [ P in keyof T ] ? : DeepPartial < T [ P ] > ; } ; /**
     * Infer the types of the arguments of a function.
     */ type ArgumentTypes < F extends Function > = F extends ( ... args : infer A ) => any ? A : never ; } param theEnum param value return export function enumIncludes < Enum > ( theEnum , value ) { return _ . includes ( _ . values ( theEnum ) , value ) ; }