Files
ueblueprint/js/entity/IdentifierEntity.js
2022-04-14 21:25:36 +02:00

24 lines
363 B
JavaScript

// @ts-check
import IEntity from "./IEntity"
export default class IdentifierEntity extends IEntity {
static attributes = {
value: String,
}
constructor(options = {}) {
super(options)
/** @type {String} */ this.value
}
valueOf() {
return this.value
}
toString() {
return this.value
}
}