@idscan/idvc2
Version:
component for the capturing documents
18 lines (17 loc) • 315 B
TypeScript
export type PartialRecord<T extends string, U> = {
[V in T]?: U;
};
export interface IPosition {
x: number;
y: number;
}
export interface IOffset {
left: number;
top: number;
}
export interface ISize {
width: number;
height: number;
}
export interface ICrop extends ISize, IPosition {
}