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

This commit is contained in:
Huanqi Cao
2026-08-13 15:16:12 +08:00
committed by Chinesezjc
parent 314fedfc14
commit ed463d74bf
@@ -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') {