Skip to content

Commit cff0288

Browse files
authored
Update validate-web-part-property-values.md (SharePoint#6364)
1 parent 496f89e commit cff0288

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/spfx/web-parts/guidance/validate-web-part-property-values.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ In this step, you implement validation logic that checks if the list with the na
171171
}
172172
```
173173

174-
1. In the code editor, open the **./src/webparts/listInfo/IListInfoWebPartProps.ts** file, and extend the interface definition with the `listName` property of type string.
174+
1. In the code editor, open the **./src/webparts/listInfo/ListInfoWebPart.ts** file, and extend the interface definition with the `listName` property of type string.
175175

176176
```typescript
177177
export interface IListInfoWebPartProps {
@@ -219,15 +219,15 @@ In this step, you implement validation logic that checks if the list with the na
219219
1. Add the missing `ListNameFieldLabel` resource string by changing the code of the **./src/webparts/listInfo/loc/mystrings.d.ts** file to:
220220

221221
```typescript
222-
declare interface IListInfoStrings {
222+
declare interface IListInfoWebPartStrings {
223223
PropertyPaneDescription: string;
224224
BasicGroupName: string;
225225
DescriptionFieldLabel: string;
226226
ListNameFieldLabel: string;
227227
}
228228

229229
declare module 'listInfoStrings' {
230-
const strings: IListInfoStrings;
230+
const strings: IListInfoWebPartStrings;
231231
export = strings;
232232
}
233233
```

0 commit comments

Comments
 (0)