add clearChoices typings (#717)

This commit is contained in:
Tadeusz Wawszczak 2019-10-29 18:07:22 +01:00 committed by Josh Johnson
parent 9504cfcec5
commit 2b8acc5f37

7
types/index.d.ts vendored
View file

@ -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.
*