From df361a2b4eff9fd47603ce0d0399078fb5d207f6 Mon Sep 17 00:00:00 2001 From: Robbie Wagner Date: Tue, 20 Feb 2024 09:18:51 -0500 Subject: [PATCH] Support selecting an array of options --- types/ember-power-select/components/power-select-multiple.d.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/types/ember-power-select/components/power-select-multiple.d.ts b/types/ember-power-select/components/power-select-multiple.d.ts index 4181033..1f97b24 100644 --- a/types/ember-power-select/components/power-select-multiple.d.ts +++ b/types/ember-power-select/components/power-select-multiple.d.ts @@ -3,7 +3,8 @@ declare module 'ember-power-select/components/power-select-multiple' { import { PowerSelectArgs, PromiseProxy, Select } from 'ember-power-select/components/power-select'; - interface PowerSelectMultipleArgs extends Omit, 'selected'> { + interface PowerSelectMultipleArgs extends Omit, 'onChange' | 'selected'> { + onChange: (selection: O[], select?: Select, event?: Event) => void; selected?: O[] | Promise | PromiseProxy; } export interface PowerSelectMultipleSignature {