UNPKG

@opra/common

Version:
14 lines (13 loc) 324 B
import { createMappedClass } from './utils/create-mapped-class.js'; /** * Create a new MappedType that omits given fields from base type * @param baseType * @param keys * @param options */ /** * */ export function OmitType(baseType, keys, options) { return createMappedClass(baseType, { omit: keys }, options); }