(
/** @type {string} */ path,
/** @type {(err: null | NodeJS.ErrnoException) => void} */ callback
)
| 52 | c.outputFileSystem = /** @type {import("../").OutputFileSystem} */ ( |
| 53 | /** @type {unknown} */ ({ |
| 54 | mkdir( |
| 55 | /** @type {string} */ path, |
| 56 | /** @type {(err: null | NodeJS.ErrnoException) => void} */ callback |
| 57 | ) { |
| 58 | logs.mkdir.push(path); |
| 59 | const err = /** @type {NodeJS.ErrnoException} */ (new Error("error")); |
| 60 | err.code = "EEXIST"; |
| 61 | callback(err); |
| 62 | }, |
| 63 | writeFile( |
| 64 | /** @type {string} */ name, |
| 65 | /** @type {Buffer} */ content, |