$ npm install @putout/plugin-apply-utility-types
🐊Putout plugin adds ability to apply utility types.
Moved to @putout/plugin-typescript.
npm i @putout/plugin-apply-utility-types
{
"rules": {
"apply-utility-types": "on"
}
}
type SuperType1 = {
[Key in keyof Type]?: Type[Key];
};
type SuperType1 = Partial<Type>;
MIT
© 2010 - cnpmjs.org x YWFE | Home | YWFE