Skip to content

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

Merged
skjnldsv merged 1 commit into
masterfrom
revert/api-change
Aug 23, 2023
Merged

fix(FilePickerBuilder): Revert API change on pick()#925
skjnldsv merged 1 commit into
masterfrom
revert/api-change

Conversation

@susnux

@susnux susnux commented Aug 23, 2023

Copy link
Copy Markdown
Contributor

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)

@susnux susnux requested review from Pytal and skjnldsv August 23, 2023 10:40
* 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>
@susnux susnux force-pushed the revert/api-change branch from aab948f to fcf5363 Compare August 23, 2023 10:42
@skjnldsv skjnldsv merged commit 01722ce into master Aug 23, 2023
@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