`PathLike` only includes Node.js's `Buffer` type, need to explicitly add the web API `TypedArray` (e.g., `Uint8Array`).
/**
* Parse and normalize a `PathLike` object into a string.
*
- * @param {PathLike} path A `string`, `Buffer`, or `URL` representing a path to a local file.
+ * @param {PathLike|ArrayBufferView} path A `string`, `Buffer`, or `URL` representing a path to a local file.
* @returns {string} The normalized file path in string form.
* @throws {TypeError} If `path` is not a `string`, `Buffer`, or `URL`, or it is a `URL` that is not using the `file` schema.
*/
for (const { name, input, output, error } of vectors) {
test(name, { concurrency: true }, () => {
if (error !== undefined) {
+ // @ts-expect-error
throws(() => parsePathLike(input), error);
}
else {