UNPKG

@gilbarbara/types

Version:
9 lines (6 loc) 301 B
export type NumberOrNull = number | null; export type StringOrNull = string | null; export type StringOrNumber = string | number; export type PlainObject<T = unknown> = Record<string, T>; export type GenericFunction<T = unknown> = (...arguments_: any[]) => T; export type VoidFunction = () => void;