@lou.codes/test
Version:
✅ Equality test with enforced readability
15 lines (14 loc) • 349 B
TypeScript
import type { ReadOnlyURL } from "./ReadOnlyURL.js";
import type { Test } from "./Test.js";
/**
* Tuple used to describe a test result and its path.
*
* @category File System
* @category Test
* @see {@link Test}
* @see {@link ReadOnlyURL}
*/
export type TestTuple<Value = unknown> = readonly [
path: ReadOnlyURL,
test: Test<Value>
];