ts-gems
Version:
Valuable typing extensions for TypeScript
17 lines (15 loc) • 318 B
JavaScript
const noOp = x => x;
module.exports = {
asMutable: noOp,
asDeepMutable: noOp,
asDeeperMutable: noOp,
asReadonly: noOp,
asDeepReadonly: noOp,
asDeeperReadonly: noOp,
asPartial: noOp,
asDeepPartial: noOp,
asDeeperPartial: noOp,
asRequired: noOp,
asDeepRequired: noOp,
asDeeperRequired: noOp,
};