wip: wtf
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
import type { HKT } from "./base/hkt";
|
||||
|
||||
export interface Identity extends HKT {
|
||||
new: (t: HKT.T<this>) => typeof t;
|
||||
}
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-unsafe-type-assertion
|
||||
export const never = undefined as never;
|
||||
|
||||
export type Constraint<T, U extends T> = U;
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-empty-object-type
|
||||
export type Empty = Constraint<Record<PropertyKey, unknown>, {}>;
|
||||
Reference in New Issue
Block a user