summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fs/glob.ts23
-rw-r--r--strings/pad.ts18
2 files changed, 21 insertions, 20 deletions
diff --git a/fs/glob.ts b/fs/glob.ts
index 4e1dedda9..e7e5aee21 100644
--- a/fs/glob.ts
+++ b/fs/glob.ts
@@ -22,18 +22,19 @@ export interface GlobOptions {
* but can be used anywhere else.
* Examples:
*
- * Looking for all the `ts` files:
- * walkSync(".", {
- * match: [glob("*.ts")]
- * })
+ * Looking for all the `ts` files:
+ * walkSync(".", {
+ * match: [glob("*.ts")]
+ * })
*
- * Looking for all the `.json` files in any subfolder:
- * walkSync(".", {
- * match: [glob(join("a", "**", "*.json"),flags: "g",
- * extended: true,
- * globstar: true
- * })]
- * })
+ * Looking for all the `.json` files in any subfolder:
+ * walkSync(".", {
+ * match: [glob(join("a", "**", "*.json"),{
+ * flags: "g",
+ * extended: true,
+ * globstar: true
+ * })]
+ * })
*
* @param glob - Glob pattern to be used
* @param options - Specific options for the glob pattern
diff --git a/strings/pad.ts b/strings/pad.ts
index f74742cc1..1c1868769 100644
--- a/strings/pad.ts
+++ b/strings/pad.ts
@@ -21,15 +21,15 @@ export interface FillOption {
* is equal to the `strLen` parameter.
* Example:
*
- * pad("deno", 6, { char: "*", side: "left" }) // output : "**deno"
- * pad("deno", 6, { char: "*", side: "right"}) // output : "deno**"
- * pad("denosorusrex", 6 {
- * char: "*",
- * side: "left",
- * strict: true,
- * strictSide: "right",
- * strictChar: "..."
- * }) // output : "den..."
+ * pad("deno", 6, { char: "*", side: "left" }) // output : "**deno"
+ * pad("deno", 6, { char: "*", side: "right"}) // output : "deno**"
+ * pad("denosorusrex", 6 {
+ * char: "*",
+ * side: "left",
+ * strict: true,
+ * strictSide: "right",
+ * strictChar: "..."
+ * }) // output : "den..."
*
* @param input Input string
* @param strLen Output string lenght