UNPKG

type-fns

Version:

A set of types, type checks, and type guards for simpler, safer, and easier to read code.

11 lines 399 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const omit_1 = require("./omit"); describe('omit', () => { it('should satisfy the standard Omit type', () => { const withKey = { a: 1, b: 2 }; const omitKeyTypeFound = (0, omit_1.omit)(withKey, ['a']); const omitKeyTypeCheck = omitKeyTypeFound; }); }); //# sourceMappingURL=omit.test.js.map