printj/types/printj-test.ts
SheetJS ed55a202b3 version bump 1.0.1: typings
- typescript definitions and types
- flowtype definition refinement
2017-07-04 02:26:51 -04:00

5 lines
142 B
TypeScript

import { vsprintf, sprintf } from 'printj';
const t1: string = sprintf("%02hhx", 123);
const t2: string = vsprintf("%02hhx %d", [123, 213]);