mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-02-04 08:50:33 +08:00
Minor formatting and refactoring
This commit is contained in:
@@ -9,12 +9,6 @@ export default class IdentifierEntity extends IEntity {
|
||||
}
|
||||
|
||||
constructor(options = {}) {
|
||||
// Not instanceof to pick also primitive string
|
||||
if (options.constructor === String) {
|
||||
options = {
|
||||
value: options
|
||||
}
|
||||
}
|
||||
super(options)
|
||||
/** @type {String} */ this.value
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user