printj/types/index.d.ts

13 lines
474 B
TypeScript

/* index.d.ts (C) 2015-present SheetJS */
/** Version string */
export const version: string;
/** Generate formatted string from format and subsequent arguments */
export function sprintf(fmt: string, ...args: any[]): string;
/** Generate formatted string from format and array of variables */
export function vsprintf(fmt: string, args: any[]): string;
/** Override inspect function for #J conversion */
export function set_inspect(inspector: (val: any)=>string): void;