export abstract class accessory { public type: string public typeId: number constructor(type: string, typeId: number) { this.type = type this.typeId = typeId } abstract setName(name) abstract setValue(key, value) abstract update() }