Skip to content

Commit 07b7c74

Browse files
authored
refactor: rename runner.destroy() to runner.close() (#1601)
1 parent 8acdcf3 commit 07b7c74

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

guide/api-environment.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -645,11 +645,11 @@ export class ModuleRunner {
645645
* すべてのキャッシュをクリアし、すべての HMR リスナーを削除し、ソースマップのサポートをリセットします。
646646
* このメソッドは HMR 接続を停止しません。
647647
*/
648-
public async destroy(): Promise<void>
648+
public async close(): Promise<void>
649649
/**
650-
* ランナーが `destroy()` メソッドを呼び出して破棄された場合は `true` を返します。
650+
* `close()` メソッドを呼び出してランナーを終了した場合は `true` を返します。
651651
*/
652-
public isDestroyed(): boolean
652+
public isClosed(): boolean
653653
}
654654
```
655655

0 commit comments

Comments
 (0)