Skip to content

Commit

Permalink
fix: src\backend\electron\engineAndVvppController.tsのtypecheckでエラーが出て…
Browse files Browse the repository at this point in the history
…いた問題を解決
  • Loading branch information
Hiroshiba committed Jan 28, 2025
1 parent af114ee commit f4e57c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend/electron/engineAndVvppController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ export class EngineAndVvppController {
}

// ファイルを確実に閉じる
const { promise, resolve, reject } = Promise.withResolvers();
const { promise, resolve, reject } = Promise.withResolvers<void>();
fileStream.on("close", resolve);
fileStream.on("error", reject);
fileStream.close();
Expand Down

0 comments on commit f4e57c1

Please sign in to comment.