fix: two files left out of last commit
This commit is contained in:
parent
7db6f38a30
commit
f860fca03d
2
src/generic/native.ts
Normal file
2
src/generic/native.ts
Normal file
@ -0,0 +1,2 @@
|
||||
export * from './arithmetic.js'
|
||||
export * from './relational.js'
|
11
src/generic/relational.ts
Normal file
11
src/generic/relational.ts
Normal file
@ -0,0 +1,11 @@
|
||||
import {Dependency, ImpType} from '../core/Dispatcher.js'
|
||||
|
||||
declare module "./type" {
|
||||
interface GenericImpTypes<T> {
|
||||
unequal: (a: T, b:T) => boolean
|
||||
}
|
||||
}
|
||||
|
||||
export const unequal =
|
||||
<T>(dep: Dependency<'equal', [T,T]>): ImpType<'unequal', [T, T]> =>
|
||||
(a, b) => !dep.equal(a, b)
|
Loading…
Reference in New Issue
Block a user