From 2b8acc5f37c25e9e43ffce18befff90974b8aa61 Mon Sep 17 00:00:00 2001 From: Tadeusz Wawszczak Date: Tue, 29 Oct 2019 18:07:22 +0100 Subject: [PATCH] add clearChoices typings (#717) --- types/index.d.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/types/index.d.ts b/types/index.d.ts index 4632e4c..478c429 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -949,6 +949,13 @@ export default class Choices { replaceChoices?: boolean, ): this; + /** + * Clear all choices from select. + * + * **Input types affected:** select-one, select-multiple + */ + clearChoices(): this; + /** * Removes all items, choices and groups. Use with caution. *