UNPKG

type-plus

Version:
13 lines 387 B
/** * Test utilities for types. * * This is designed specifically for testing. * The return value is the input `expected` parameter asserted as the first type parameter, * so that the type can be further inspected. */ export const testType = new Proxy({}, { get(_target, _prop, _receiver) { return (expected) => expected; } }); //# sourceMappingURL=test_type.js.map