From a49bd33f8cfb85a1afc9aaba67904a7627c29750 Mon Sep 17 00:00:00 2001 From: wenbin Date: Fri, 22 Nov 2024 03:40:22 +0800 Subject: [PATCH] Rename `createScript` to `loadEntry` (#3257) Co-authored-by: loveholly --- apps/website-new/docs/en/plugin/dev/index.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/website-new/docs/en/plugin/dev/index.mdx b/apps/website-new/docs/en/plugin/dev/index.mdx index 42e500bcf5..573478da3d 100644 --- a/apps/website-new/docs/en/plugin/dev/index.mdx +++ b/apps/website-new/docs/en/plugin/dev/index.mdx @@ -542,7 +542,7 @@ The `loadEntry` function allows for full customization of remotes, enabling you - **Type** ```typescript -function createScript(args: LoadEntryOptions): HTMLScriptElement | {script?: HTMLScriptElement, timeout?: number } | void; +function loadEntry(args: LoadEntryOptions): RemoteEntryExports | void; type LoadEntryOptions = { createScriptHook: SyncHook,