* An immutable array of metadata objects associated with this construct. * This can be used, for example, to implement support for deprecation notices, source mapping, etc.
()
| 301 | * This can be used, for example, to implement support for deprecation notices, source mapping, etc. |
| 302 | */ |
| 303 | public get metadata() { |
| 304 | return [...this._metadata ?? []]; |
| 305 | } |
| 306 | |
| 307 | /** |
| 308 | * Adds a metadata entry to this construct. |
nothing calls this directly
no outgoing calls
no test coverage detected