UNPKG

react-native-ui-lib

Version:

[![SWUbanner](https://raw.githubusercontent.com/vshymanskyy/StandWithUkraine/main/banner-direct.svg)](https://stand-with-ukraine.pp.ua)

13 lines (10 loc) 388 B
export interface Extendable { [key: string]: any; } export type Constructor<T, TA = any> = new (...args: TA[]) => T; export type ExtendTypeWith<T extends Constructor<any>, OtherObject extends object> = Constructor< InstanceType<T> & OtherObject, ConstructorParameters<T> >; export type Dictionary<TYPE> = {[key: string]: TYPE}; export type ComponentStatics<T> = Pick<T, keyof T>;