File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed
Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff 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};
Original file line number Diff line number Diff 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:::
Original file line number Diff line number Diff 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};
Original file line number Diff line number Diff 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:::
You can’t perform that action at this time.
0 commit comments