Skip to content

Commit 4743822

Browse files
committed
docs: fix
1 parent e7a6882 commit 4743822

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

website/docs/en/api/javascript-api/environment-api.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ type EnvironmentAPI = {
229229
loadBundle: <T = unknown>(entryName: string) => Promise<T>;
230230
getTransformedHtml: (entryName: string) => Promise<string>;
231231
hot: {
232-
send: SockWrite;
232+
send: HotSend;
233233
};
234234
};
235235
};

website/docs/en/api/javascript-api/server-api.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,5 +301,5 @@ if (someCondition) {
301301
```
302302

303303
:::tip
304-
`sockWrite` is no longer the recommended API for sending messages. Prefer [hot.send](/api/javascript-api/environment-api#hotsend) instead.
304+
`sockWrite` is not the recommended API for sending messages. Prefer [hot.send](/api/javascript-api/environment-api#hotsend) instead.
305305
:::

website/docs/zh/api/javascript-api/environment-api.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ type EnvironmentAPI = {
230230
loadBundle: <T = unknown>(entryName: string) => Promise<T>;
231231
getTransformedHtml: (entryName: string) => Promise<string>;
232232
hot: {
233-
send: SockWrite;
233+
send: HotSend;
234234
};
235235
};
236236
};

website/docs/zh/api/javascript-api/server-api.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,5 +299,5 @@ if (someCondition) {
299299
```
300300

301301
:::tip
302-
不再是推荐使用 `sockWrite` 作为消息发送 API建议优先使用 [hot.send](/api/javascript-api/environment-api#hotsend)
302+
不推荐使用 `sockWrite` 作为消息发送 API建议优先使用 [hot.send](/api/javascript-api/environment-api#hotsend)
303303
:::

0 commit comments

Comments
 (0)