fix(workflow): use optional syntax for the tsconfig pin parameter

This commit is contained in:
Huanqi Cao
2026-08-12 16:10:45 +08:00
parent 9592842df6
commit d992eb116e
@@ -44,7 +44,7 @@ interface ChildRecord {
*/
export function workerSpawnEnv(
platform: NodeJS.Platform = process.platform,
tsconfigPath: string | undefined = undefined,
tsconfigPath?: string,
): NodeJS.ProcessEnv {
const env: NodeJS.ProcessEnv = {}
if (platform === 'win32') {