You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
426 B

4 years ago
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", {
  3. value: true
  4. });
  5. exports.default = void 0;
  6. /**
  7. * Casts all cell values to a string.
  8. *
  9. * @param {table~row[]} rows
  10. * @returns {table~row[]}
  11. */
  12. const stringifyTableData = rows => {
  13. return rows.map(cells => {
  14. return cells.map(String);
  15. });
  16. };
  17. var _default = stringifyTableData;
  18. exports.default = _default;
  19. //# sourceMappingURL=stringifyTableData.js.map