diff options
| author | Vincent LE GOFF <g_n_s@hotmail.fr> | 2019-04-04 11:58:16 +0200 |
|---|---|---|
| committer | Ryan Dahl <ry@tinyclouds.org> | 2019-04-04 05:58:16 -0400 |
| commit | 0ff0ba2b32113e4aa18fe9f35e0f9068cce3ba08 (patch) | |
| tree | 2655c6d2e0dbc8c0f2314da05165aa86b581a4c7 /strings | |
| parent | fd170692ddd48b66bac095db2c9d71fa89bdad43 (diff) | |
Fixing jsdoc example padding (denoland/deno_std#322)
Original: https://github.com/denoland/deno_std/commit/a0ff487a125254b02fb01126883f7d7798716200
Diffstat (limited to 'strings')
| -rw-r--r-- | strings/pad.ts | 18 |
1 files changed, 9 insertions, 9 deletions
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 |
