massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / table / dist / src / wrapCell.d.ts
diff --git a/.config/coc/extensions/node_modules/coc-prettier/node_modules/table/dist/src/wrapCell.d.ts b/.config/coc/extensions/node_modules/coc-prettier/node_modules/table/dist/src/wrapCell.d.ts
new file mode 100644 (file)
index 0000000..52d7299
--- /dev/null
@@ -0,0 +1,8 @@
+/**
+ * Wrap a single cell value into a list of lines
+ *
+ * Always wraps on newlines, for the remainder uses either word or string wrapping
+ * depending on user configuration.
+ *
+ */
+export declare const wrapCell: (cellValue: string, cellWidth: number, useWrapWord: boolean) => string[];