Skip to content

Commit 3151421

Browse files
committed
🏷️ change return type of encoded variable from Any? to Any
1 parent 11ae362 commit 3151421

File tree

1 file changed

+1
-1
lines changed
  • qs-kotlin/src/main/kotlin/io/github/techouse/qskotlin

1 file changed

+1
-1
lines changed

qs-kotlin/src/main/kotlin/io/github/techouse/qskotlin/qs.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ fun encode(data: Any?, options: EncodeOptions? = null): String {
145145
continue
146146
}
147147

148-
val encoded: Any? =
148+
val encoded: Any =
149149
Encoder.encode(
150150
data = obj[key],
151151
undefined = !obj.containsKey(key),

0 commit comments

Comments
 (0)