0.1.4 #4

Merged
Thilawyn merged 68 commits from next into master 2024-02-20 01:39:38 +01:00
Showing only changes of commit 394d267d74 - Show all commits

View File

@@ -11,6 +11,14 @@ import { CommonKeys } from "."
// } // }
// export type ExtendFn = Tuples.Reduce<ExtendReducerFn, {}> // export type ExtendFn = Tuples.Reduce<ExtendReducerFn, {}>
// export type ExtendableFn = ComposeLeft<[
// ExtendFn,
// Match<[
// Match.With<never, false>,
// Match.With<any, true>,
// ]>
// ]>
export type Extend<T extends readonly object[]> = ( export type Extend<T extends readonly object[]> = (
T extends [infer Super, infer Self, ...infer Rest] T extends [infer Super, infer Self, ...infer Rest]
@@ -28,12 +36,3 @@ export type Extend<T extends readonly object[]> = (
: never : never
: {} : {}
) )
// export type ExtendableFn = ComposeLeft<[
// ExtendFn,
// Match<[
// Match.With<never, false>,
// Match.With<any, true>,
// ]>
// ]>