Skip to content

Commit a49bd33

Browse files
lovehollyloveholly
andauthored
Rename createScript to loadEntry (#3257)
Co-authored-by: loveholly <[email protected]>
1 parent 13e94cd commit a49bd33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/website-new/docs/en/plugin/dev/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -542,7 +542,7 @@ The `loadEntry` function allows for full customization of remotes, enabling you
542542
- **Type**
543543

544544
```typescript
545-
function createScript(args: LoadEntryOptions): HTMLScriptElement | {script?: HTMLScriptElement, timeout?: number } | void;
545+
function loadEntry(args: LoadEntryOptions): RemoteEntryExports | void;
546546

547547
type LoadEntryOptions = {
548548
createScriptHook: SyncHook,

0 commit comments

Comments
 (0)