* @private
(id, typedRegistry, type)
| 173 | * @private |
| 174 | */ |
| 175 | _get(id, typedRegistry, type) { |
| 176 | const item = typedRegistry.get(id); |
| 177 | if (item === undefined) { |
| 178 | throw new Error('"' + id + '" is not a registered ' + type + '.'); |
| 179 | } |
| 180 | return item; |
| 181 | } |
| 182 | |
| 183 | } |
| 184 |
no test coverage detected