Fix grammar issues

This commit is contained in:
barsdeveloper
2023-09-22 23:03:09 +02:00
parent fdd86ce5de
commit 6f276856d6
2 changed files with 2 additions and 2 deletions

View File

@@ -271,7 +271,7 @@ export default class Utility {
: new /** @type {EntityConstructor} */(targetType)(value)
}
if (value instanceof Boolean || value instanceof Number || value instanceof String) {
value = value.valueOf() // Get the relative primitive value
value = /** @type {AnyValue} */(value.valueOf()) // Get the relative primitive value
}
return value
}