Closed po4tion closed 1 year ago
const dirs = [ getPagesDirectory(process.cwd()), getAppDirectory(process.cwd()), ].filter((x) => x != undefined);
In this case, "type" is specified as "(string | undefined)[]" even though the dirs variable cannot be an array with undefined. I supplemented this point.
In this case, "type" is specified as "(string | undefined)[]" even though the dirs variable cannot be an array with undefined. I supplemented this point.