massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / table / dist / src / wrapString.d.ts
diff --git a/.config/coc/extensions/node_modules/coc-prettier/node_modules/table/dist/src/wrapString.d.ts b/.config/coc/extensions/node_modules/coc-prettier/node_modules/table/dist/src/wrapString.d.ts
new file mode 100644 (file)
index 0000000..849e174
--- /dev/null
@@ -0,0 +1,9 @@
+/**
+ * Creates an array of strings split into groups the length of size.
+ * This function works with strings that contain ASCII characters.
+ *
+ * wrapText is different from would-be "chunk" implementation
+ * in that whitespace characters that occur on a chunk size limit are trimmed.
+ *
+ */
+export declare const wrapString: (subject: string, size: number) => string[];