Skip to content

Commit

Permalink
fix: engineAndVvppController.tsの型エラーを直す (#2509)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hiroshiba authored Jan 28, 2025
1 parent af114ee commit 897ea96
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 897ea96

Please sign in to comment.