Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(FilePickerBuilder): Revert API change on pick() #925

Merged
merged 1 commit into from
Aug 23, 2023

Conversation

susnux
Copy link
Contributor

@susnux susnux commented Aug 23, 2023

Resolves #919

  • Return string is multiSelect is false, string[] otherwise
  • Adjust Typescript interface to infer types correctly, e.g. return type of pick(): string

(todo: I still looking for good way to test the typescript interface)

* Return `string` is multiSelect is false, `string[]` otherwise
* Adjust Typescript interface to infer types correctly, e.g. return type of `pick(): string`

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
@skjnldsv skjnldsv merged commit 01722ce into master Aug 23, 2023
8 checks passed
@skjnldsv skjnldsv deleted the revert/api-change branch August 23, 2023 11:08
@skjnldsv skjnldsv mentioned this pull request Aug 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Return string when multiSelect is false
2 participants