Repository URL to install this package:
|
Version:
0.2.3 ▾
|
import { IType } from './type';
import { TypeDoesNotExtendChildren, TypeExtendsChildren } from './utils';
export declare type ITypeTranslatedProps<P extends {
[index: string]: IType<any>;
}> = {
[K in TypeExtendsChildren<P, IType<undefined>>]?: P[K]['value'];
} & {
[K in TypeDoesNotExtendChildren<P, IType<undefined>>]: P[K]['value'];
};