How to use

This commit is contained in:
barsdeveloper
2023-05-24 19:45:01 +02:00
parent 4b7bce2211
commit 9fc936f228
6 changed files with 28 additions and 5 deletions

View File

@@ -74,6 +74,7 @@ export default class ObjectSerializer extends Serializer {
attributeSeparator,
trailingSeparator,
attributeValueConjunctionSign,
// @ts-expect-error
key => entity[key] instanceof ObjectEntity ? "" : attributeKeyPrinter(key)
)
}

View File

@@ -49,6 +49,7 @@ export default class Serializer {
/** @param {T} value */
write(value, insideString = false) {
// @ts-expect-error
return this.doWrite(value, insideString)
}