Skip to content

Commit 09ad1d1

Browse files
committed
Update for SPFx 1.14
1 parent 373f2a4 commit 09ad1d1

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed
42.4 KB
Loading

docs/spfx/extensions/get-started/using-page-placeholder-with-extensions.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,15 +139,14 @@ Notice that you're requesting a well-known placeholder by using the correspondin
139139
8. Update the `onInit()` method code as follows:
140140

141141
```typescript
142-
@override
143142
public onInit(): Promise<void> {
144143
Log.info(LOG_SOURCE, `Initialized ${strings.Title}`);
145144

146145
// Wait for the placeholders to be created (or handle them being changed) and then
147146
// render.
148147
this.context.placeholderProvider.changedEvent.add(this, this._renderPlaceHolders);
149148

150-
return Promise.resolve<void>();
149+
return Promise.resolve();
151150
}
152151
```
153152

0 commit comments

Comments
 (0)