massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / table / dist / src / calculateCellHeight.d.ts
diff --git a/.config/coc/extensions/node_modules/coc-prettier/node_modules/table/dist/src/calculateCellHeight.d.ts b/.config/coc/extensions/node_modules/coc-prettier/node_modules/table/dist/src/calculateCellHeight.d.ts
new file mode 100644 (file)
index 0000000..76fd7f1
--- /dev/null
@@ -0,0 +1,4 @@
+/**
+ * Calculates height of cell content in regard to its width and word wrapping.
+ */
+export declare const calculateCellHeight: (value: string, columnWidth: number, useWrapWord?: boolean) => number;