(arg)
| 286 | */ |
| 287 | windowSize({ width, height }) { |
| 288 | function checkArg(arg) { |
| 289 | if (typeof arg !== 'number' || arg <= 0) { |
| 290 | throw TypeError('Arguments must be {width, height} with numbers > 0') |
| 291 | } |
| 292 | } |
| 293 | |
| 294 | checkArg(width) |
| 295 | checkArg(height) |
nothing calls this directly
no outgoing calls
no test coverage detected