intervals-fn
Advanced tools
Comparing version 3.0.1 to 3.0.2
import { IntervalFT, IntervalSE } from './data.structures'; | ||
export declare const convertFTtoSE: <T extends IntervalFT>(r: T) => { [P in ({ [P in keyof T]: P; } & { | ||
from: never; | ||
to: never; | ||
} & { | ||
[x: string]: never; | ||
})[keyof T]]: T[P]; } & IntervalSE; | ||
export declare const convertFTtoSE: <T extends IntervalFT>(r: T) => Pick<T, Exclude<keyof T, "from" | "to">> & IntervalSE; | ||
export declare const convertARtoSE: ([start, end]: [number, number]) => IntervalSE; | ||
export declare const convertSEtoFT: <T extends IntervalSE>(r: T) => { [P in ({ [P in keyof T]: P; } & { | ||
start: never; | ||
end: never; | ||
} & { | ||
[x: string]: never; | ||
})[keyof T]]: T[P]; } & IntervalFT; | ||
export declare const convertSEtoFT: <T extends IntervalSE>(r: T) => Pick<T, Exclude<keyof T, "start" | "end">> & IntervalFT; | ||
export declare const convertSEtoAR: (r: IntervalSE) => [number, number]; | ||
@@ -16,0 +6,0 @@ /** |
import { IntervalFT, IntervalSE } from './data.structures'; | ||
export declare const convertFTtoSE: <T extends IntervalFT>(r: T) => { [P in ({ [P in keyof T]: P; } & { | ||
from: never; | ||
to: never; | ||
} & { | ||
[x: string]: never; | ||
})[keyof T]]: T[P]; } & IntervalSE; | ||
export declare const convertFTtoSE: <T extends IntervalFT>(r: T) => Pick<T, Exclude<keyof T, "from" | "to">> & IntervalSE; | ||
export declare const convertARtoSE: ([start, end]: [number, number]) => IntervalSE; | ||
export declare const convertSEtoFT: <T extends IntervalSE>(r: T) => { [P in ({ [P in keyof T]: P; } & { | ||
start: never; | ||
end: never; | ||
} & { | ||
[x: string]: never; | ||
})[keyof T]]: T[P]; } & IntervalFT; | ||
export declare const convertSEtoFT: <T extends IntervalSE>(r: T) => Pick<T, Exclude<keyof T, "start" | "end">> & IntervalFT; | ||
export declare const convertSEtoAR: (r: IntervalSE) => [number, number]; | ||
@@ -16,0 +6,0 @@ /** |
{ | ||
"name": "intervals-fn", | ||
"version": "3.0.1", | ||
"version": "3.0.2", | ||
"description": "Manipulate intervals in a functional way", | ||
@@ -5,0 +5,0 @@ "main": "lib/lib.js", |
SPDX disjunction
LicenseSPDX disjunction for an artifact's license information
Found 1 instance in 1 package
SPDX disjunction
LicenseSPDX disjunction for an artifact's license information
Found 1 instance in 1 package
54838
1238