Skip to content

Commit

Permalink
Rename createScript to loadEntry (#3257)
Browse files Browse the repository at this point in the history
Co-authored-by: loveholly <[email protected]>
  • Loading branch information
loveholly and loveholly authored Nov 21, 2024
1 parent 13e94cd commit a49bd33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/website-new/docs/en/plugin/dev/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit a49bd33

Please sign in to comment.