aboutsummaryrefslogtreecommitdiff
path: root/deno/base
diff options
context:
space:
mode:
Diffstat (limited to 'deno/base')
-rw-r--r--deno/base/lib.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/deno/base/lib.ts b/deno/base/lib.ts
index 3c69e0a..af75115 100644
--- a/deno/base/lib.ts
+++ b/deno/base/lib.ts
@@ -3,7 +3,7 @@ function camelCaseToKebabCase(str: string): string {
}
function prependNonEmpty<T>(
- object: T,
+ object: T | null | undefined,
prefix: string = " ",
): string {
if (object == null) return "";