ValueDescriptor.ts
17 lines
| 294 B
| video/mp2t
|
TypeScriptLexer
|
|
r49 | import { Descriptor } from "./interfaces"; | ||
| export class ValueDescriptor implements Descriptor { | ||||
| _value; | ||||
| constructor(value) { | ||||
| this._value = value; | ||||
| } | ||||
| activate() { | ||||
| return this._value; | ||||
| } | ||||
| toString() { | ||||
| return `@type=${typeof this._value}`; | ||||
| } | ||||
| } | ||||
