diff --git a/types/list.js/index.d.ts b/types/list.js/index.d.ts index a3e34cf078..aea0c04e76 100644 --- a/types/list.js/index.d.ts +++ b/types/list.js/index.d.ts @@ -12,6 +12,7 @@ declare class List { matchingItems: object[]; searched: boolean; filtered: boolean; + alphabet: string; constructor(element: string|HTMLElement, options?: List.ListOptions, values?: object[]); diff --git a/types/list.js/list.js-tests.ts b/types/list.js/list.js-tests.ts index 4b08d9a4b9..674eece566 100644 --- a/types/list.js/list.js-tests.ts +++ b/types/list.js/list.js-tests.ts @@ -12,6 +12,7 @@ list.visibleItems; // $ExpectType object[] list.matchingItems; // $ExpectType object[] list.searched; // $ExpectType boolean list.filtered; // $ExpectType boolean +list.alphabet; // $ExpectType string list.add([{ // $ExpectType void name: "value",