diff --git a/docs/api.md b/docs/api.md
index c6727a2..a9a77fa 100644
--- a/docs/api.md
+++ b/docs/api.md
@@ -299,13 +299,13 @@ Returns a [`WebContainerProcess`](#webcontainerprocess).
spawn(command: string, args: string[], options?: SpawnOptions): () => void
+ ▸ spawn(command: string, args: string[], options?: SpawnOptions): () => Promise<WebContainerProcess>
spawn(command: string, options?: SpawnOptions): () => void
+ ▸ spawn(command: string, options?: SpawnOptions): () => Promise<WebContainerProcess>