(pathObject: Partial<ParsedPath>)
| 17 | } |
| 18 | |
| 19 | export function assertArg(pathObject: Partial<ParsedPath>) { |
| 20 | if (pathObject === null || typeof pathObject !== "object") { |
| 21 | throw new TypeError( |
| 22 | `The "pathObject" argument must be of type Object, received type "${typeof pathObject}"`, |
| 23 | ); |
| 24 | } |
| 25 | } |
no outgoing calls
no test coverage detected