Skip to content

Commit

Permalink
chore: improve typing for iteratePropertiesHash
Browse files Browse the repository at this point in the history
  • Loading branch information
SamMousa committed Feb 21, 2024
1 parent b8569f8 commit 8aebd03
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -545,8 +545,8 @@ export class Base {
var survey = this.getSurvey();
return !!survey && survey.isEditingSurveyElement;
}
public iteratePropertiesHash(func: (hash: any, key: any) => void) {
var keys: any[] = [];
public iteratePropertiesHash(func: (hash: any, key: string) => void) {
var keys: string[] = [];
for (var key in this.propertyHash) {
if (
key === "value" &&
Expand Down

0 comments on commit 8aebd03

Please sign in to comment.