mic-inspector
Version:
A react inspector which a most similar of Chorme DevTools inspector
21 lines (20 loc) • 441 B
TypeScript
import { PropertyValueType, PropertyValueProps } from '../property-value/types';
/**
* Unknown value props interface
*/
export interface UnknownValueProps extends PropertyValueProps {
/**
* No any children
*/
children?: never[];
/**
* Any type data that you want to inspect
*/
value: PropertyValueType;
}
/**
* Setter method interface
*/
export interface Setter<T = unknown> {
(value: T): void;
}