Installation
npm install --save @types/zipcelx-on-steroids
Summary
This package contains type definitions for zipcelx-on-steroids (https://github.com/davidramos-om/zipcelx-on-steroids#readme).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/zipcelx-on-steroids.
index.d.ts
/**
* The value and type of a single cell. Only strings and numbers are supported.
*/
export interface ZipCelXCell {
/**
* The cell value
*/
value: string | number;
/**
* The cell value type
*/
type: "string" | "number";
}
/**
* A Row (a set of cells)
*/
export type ZipCelXRow = ZipCelXCell[];
/**
* A DataSet (a set of rows)
*/
export type ZipCelXDataSet = ZipCelXRow[];
/**
* Represents a Sheet
*/
export interface ZipCelXSheet {
/**
* The sheet's DataSet
*/
data: ZipCelXDataSet;
}
/**
* The zipcelx configuration
*/
export interface ZipCelXConfig {
/**
* The file name of the exported file
*/
filename: string;
/**
* The sheet to be exported as an .xlsx file
*/
sheet: {
data: ZipCelXDataSet;
};
}
// eslint-disable-next-line @typescript-eslint/no-invalid-void-type
export default function zipcelx(config: ZipCelXConfig, target: "export" | "blob"): Promise<Blob> | void;
Additional Details
- Last updated: Wed, 22 Nov 2023 00:24:48 GMT
- Dependencies: none
Credits
These definitions were written by David Ramos.