Skip to content

docs: fix missing array type annotation for extensions in showOpenDialog Filter#457

Open
Ankit-Mohanty-23 wants to merge 1 commit intoneutralinojs:mainfrom
Ankit-Mohanty-23:fix/os-showOpenDialog-extensions-type
Open

docs: fix missing array type annotation for extensions in showOpenDialog Filter#457
Ankit-Mohanty-23 wants to merge 1 commit intoneutralinojs:mainfrom
Ankit-Mohanty-23:fix/os-showOpenDialog-extensions-type

Conversation

@Ankit-Mohanty-23
Copy link
Copy Markdown

Summary

The extensions field in the showOpenDialog Filter object was
missing the [] array type annotation, while the identical field
in showSaveDialog correctly uses String[].

Change

  • extensions String → extensions String[] in showOpenDialog Filter

This prevents developers from mistakenly passing a plain string
instead of an array when using the filters option.

Closes #<454>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant