mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-02-16 02:10:38 +08:00
JsDoc types fixed and typecheck activated
This commit is contained in:
@@ -38,8 +38,7 @@ export default class ObjectSerializer extends ISerializer {
|
||||
readMultiple(value) {
|
||||
const parseResult = ISerializer.grammar.MultipleObject.parse(value)
|
||||
if (!parseResult.status) {
|
||||
console.error("Error when trying to parse the object.")
|
||||
return parseResult
|
||||
throw new Error("Error when trying to parse the object.")
|
||||
}
|
||||
return parseResult.value
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user